Commit 31aa92d
peng.li24
ci: pin numpy<2.0; add symbol diagnostics step
numpy 2.x changes symbol visibility — npy_exp, __svml_exp8, cblas_sdot64_
may not be exported as dynamic symbols, causing dlsym fallback to std::exp
which differs from numpy 2.x's AVX2 polynomial path (~20% elements 1 ULP off).
numpy 1.x (<=1.24.4) exports npy_exp as a dynamic symbol and uses scalar
paths that match our npy_exp fallback on non-AVX-512 machines.
Add diagnostics step to show numpy version and symbol availability for
future debugging.1 parent fbf3dd7 commit 31aa92d
1 file changed
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
55 | 71 | | |
56 | | - | |
57 | | - | |
| 72 | + | |
| 73 | + | |
58 | 74 | | |
59 | 75 | | |
60 | 76 | | |
| |||
0 commit comments