Unverified Commit 3443a635 authored by Min Xu's avatar Min Xu Committed by GitHub
Browse files

[test] fixing 1.9 nightly install (#706)



* [test] fixing 1.9 nightly install

* update cache version so that we don't keep reinstall
Co-authored-by: default avatarMin Xu <min.xu.public@gmail.com>
parent df7db85c
......@@ -114,7 +114,7 @@ install_dep_190: &install_dep_190
# check if we have restored venv cache (/home/circleci/venv) correctly, if so, just skip
if [ -f /home/circleci/venv/check_version.py ]; then python /home/circleci/venv/check_version.py torch eq 1.8 && exit 0; fi
# start installing
pip install --pre --progress-bar off torch==1.9.0.dev20210330+cu101 torchvision==0.10.0.dev20210330+cu101 -f https://download.pytorch.org/whl/nightly/cu101/torch_nightly.html
pip install --pre --progress-bar off torch==1.9.0.dev20210415+cu101 torchvision==0.10.0.dev20210415+cu101 -f https://download.pytorch.org/whl/nightly/cu101/torch_nightly.html
pip install --progress-bar off -r requirements-test.txt
pip install --progress-bar off -r requirements-benchmarks.txt
python -c 'import torch; print("Torch version:", torch.__version__)'
......
......@@ -79,4 +79,4 @@ if __name__ == "__main__":
# Bump this number if you want to force a CI cache invalidation on the pip venv.
# CI cache version: 2
# CI cache version: 3
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment