Skip to content

Commit

Permalink
workaround pytorch/pytorch#49560 temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
hpasapp committed Dec 17, 2020
1 parent 2ef3e93 commit 15d0c30
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
command: |
virtualenv -p python3.7 .venv
source .venv/bin/activate
pip install -q torch==1.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
# pip install -q torch==1.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
# temporary workaround for https://github.com/pytorch/pytorch/issues/49560
wget https://download.pytorch.org/whl/cpu/torch-1.6.0%2Bcpu-cp37-cp37m-linux_x86_64.whl
pip install -q torch-1.6.0+cpu-cp37-cp37m-linux_x86_64.whl
pip install -q .
pip install -q -r requirements-test.txt
- run:
Expand All @@ -32,7 +35,10 @@ jobs:
command: |
virtualenv -p python3.7 .venv
source .venv/bin/activate
pip install -q torch==1.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
# pip install -q torch==1.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
# temporary workaround for https://github.com/pytorch/pytorch/issues/49560
wget https://download.pytorch.org/whl/cpu/torch-1.6.0%2Bcpu-cp37-cp37m-linux_x86_64.whl
pip install -q torch-1.6.0+cpu-cp37-cp37m-linux_x86_64.whl
pip install -q .
sudo apt-get -y install cmake
- run:
Expand Down

0 comments on commit 15d0c30

Please sign in to comment.