Skip to content

Commit

Permalink
Install torch CPU for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kddubey committed May 30, 2024
1 parent 781bb8b commit e04506a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
python -m pip install .[dev]
- name: Run tests
Expand Down
4 changes: 4 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ python:
- method: pip
path: .
extra_requirements:
- torch
- torchvision
- torchaudio
- --extra-index-url https://download.pytorch.org/whl/cpu
- dev

0 comments on commit e04506a

Please sign in to comment.