Try again to pin the CI to a working PyTorch version.

For some reason, pytorch_nightly was being installed for the LLVM build,
and so the wrong line got updated in the previous attempt.
pull/234/head
Sean Silva 2021-06-22 15:03:15 -07:00
parent f7ebd870f6
commit bbd749620e
1 changed files with 1 additions and 4 deletions

View File

@ -18,9 +18,6 @@ jobs:
- name: Install python depends
run: |
python3 -m pip install pytest pybind11 numpy
- name: Install pytorch_nightly depends
run: |
python3 -m pip install --pre 'torch==1.10.0.dev20210617+cpu' 'torchvision==0.11.0.dev20210617+cpu' -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
- name: Get LLVM Hash
id: get-llvm-hash
run: echo "::set-output name=hash::$(git submodule status)"
@ -59,7 +56,7 @@ jobs:
python3 -m pip install pytest pybind11 numpy
- name: Install pytorch_nightly depends
run: |
python3 -m pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
python3 -m pip install --pre 'torch==1.10.0.dev20210617+cpu' 'torchvision==0.11.0.dev20210617+cpu' -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
- name: Get LLVM Hash
id: get-llvm-hash
run: echo "::set-output name=hash::$(git submodule status)"