Commit 720e8be
Bump minimum torch to 2.4 (#3311)
Summary:
Torch <2.4 was built against the numpy 1.x C ABI and fails at import time when paired with numpy 2.x ('numpy not available'). With modern scipy, jax, and scikit-learn all requiring numpy>=2, capping numpy in the min-req CI job is no longer feasible. Torch 2.4 (Jul 2024) is the first release with stable numpy 2.x ABI support, so bump the floor there.
Before: https://github.com/meta-pytorch/botorch/actions/runs/26538884146/job/78174986399 fails with Numpy not available.
After: https://github.com/meta-pytorch/botorch/actions/runs/26543456932/job/78190062048 the previously failing tests are passing
Pull Request resolved: #3311
Reviewed By: hvarfner
Differential Revision: D106575162
Pulled By: saitcakmak
fbshipit-source-id: a430aba20f16bba9d58147aa94bfc1458bc01cc61 parent e533cd3 commit 720e8be
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments