forked from qoherent/icc-demo
Workflow: pin numpy<2 AFTER requirements.txt (torch 2.2.2 NumPy 1.x ABI)
This commit is contained in:
parent
b92bc91bea
commit
9dd29ac589
|
|
@ -380,6 +380,10 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
$PIP install h5py scipy
|
||||
# After requirements.txt, force numpy back to <2 (torch 2.2.2 has
|
||||
# NumPy 1.x ABI; transitive deps in requirements.txt would
|
||||
# otherwise leave numpy 2.x in place and crash at runtime).
|
||||
$PIP install --upgrade --force-reinstall "numpy<2"
|
||||
TORCH_INDEX_URL="https://download.pytorch.org/whl/cpu"
|
||||
TORCH_REASON="no NVIDIA GPU detected"
|
||||
if command -v nvidia-smi &> /dev/null; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user