Pin PyTorch version in the CI.

I'm seeing the following error:

```
CMake Error in frontends/pytorch/csrc/CMakeLists.txt:
  Imported target "torch" includes non-existent path

    "/usr/local/include/breakpad"

  in its INTERFACE_INCLUDE_DIRECTORIES.
```

Reported upstream in: https://github.com/pytorch/pytorch/issues/60485
pull/243/head
Sean Silva 2021-07-02 11:14:32 -07:00
parent c289d83407
commit 30400d5492
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ jobs:
python3 -m pip install pytest pybind11 numpy python3 -m pip install pytest pybind11 numpy
- name: Install pytorch_nightly depends - name: Install pytorch_nightly depends
run: | 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.dev20210630+cpu' 'torchvision==0.11.0.dev20210630+cpu' -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
- name: Get LLVM Hash - name: Get LLVM Hash
id: get-llvm-hash id: get-llvm-hash
run: echo "::set-output name=hash::$(git submodule status)" run: echo "::set-output name=hash::$(git submodule status)"