Skip to content

Commit

Permalink
fix torch-numpy dependency in github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cw-tan committed Jul 9, 2024
1 parent b73bf6f commit feff269
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
if [ ${TORCH} == 1.13.1 ]; then pip install numpy==1.26.4; fi # older torch versions fail with numpy 2
pip install torch==${TORCH} -f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install h5py scikit-learn # install packages that aren't required dependencies but that the tests do need
pip install --upgrade-strategy only-if-needed .
Expand Down

0 comments on commit feff269

Please sign in to comment.