Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
to install torch on cpu
  • Loading branch information
ancestor-mithril authored Apr 29, 2024
1 parent 4df799c commit 0a51e81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
# Install cpu torch first
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
Expand Down

0 comments on commit 0a51e81

Please sign in to comment.