mirror of https://github.com/llvm/torch-mlir
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
parent
f7ebd870f6
commit
bbd749620e
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue