Skip to content

Commit

Permalink
force install of torch / torch-xla in test_installs
Browse files Browse the repository at this point in the history
  • Loading branch information
mfuntowicz committed Apr 15, 2024
1 parent ed16308 commit 51e1cc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ pypi_upload: ${PACKAGE_DIST} ${PACKAGE_WHEEL}
# Tests
test_installs:
python -m pip uninstall -y torchvision torchaudio
python -m pip install torch~=2.2.0 torch_xla[tpu]~=2.2.0 -f https://storage.googleapis.com/libtpu-releases/index.html
python -m pip install .[tests]

tests: test_installs
Expand Down

0 comments on commit 51e1cc6

Please sign in to comment.