Skip to content

Commit

Permalink
install torch first
Browse files Browse the repository at this point in the history
  • Loading branch information
ziw-liu committed Feb 24, 2024
1 parent 0e539af commit b0fdf77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
run: |
python -m pip install --upgrade pip
# Install cpu wheels only to speed up the build
pip install ".[metrics,dev]" --index-url https://download.pytorch.org/whl/cpu
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install ".[metrics,dev]"
- name: Test with pytest
run: pytest -v

0 comments on commit b0fdf77

Please sign in to comment.