Skip to content

Commit

Permalink
compile torvhsion from source
Browse files Browse the repository at this point in the history
  • Loading branch information
vanbasten23 committed Mar 7, 2024
1 parent 62399f1 commit bcdc721
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/tpu_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,17 @@ jobs:
run: |
cd pytorch/xla
python3 setup.py install --user
- name: Install torchvision
run: |
cd pytorch/
git clone https://github.com/pytorch/vision.git
cd vision
python3 setup.py install --user
- name: Run Tests
env:
PJRT_DEVICE: TPU
run: |
pip install fsspec
pip install rich
pip uninstall torch
pip uninstall torchvision
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121
cd pytorch/xla
test/tpu/run_tests.sh

0 comments on commit bcdc721

Please sign in to comment.