Skip to content

Commit

Permalink
auto extract pytorch version for libtorch download
Browse files Browse the repository at this point in the history
  • Loading branch information
anjohan committed Oct 21, 2024
1 parent 9338f7b commit 2e301ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
python -m pip install --upgrade pip
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install pytest
wget -q https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-latest%2Bcpu.zip -O libtorch.zip
wget -q https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-$(pip show torch | awk '/Version/ {print $2;}')%2Bcpu.zip -O libtorch.zip
unzip libtorch.zip
- name: Install MPI
run: |
Expand Down

0 comments on commit 2e301ac

Please sign in to comment.