Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
fairscale
Commits
064e886b
Unverified
Commit
064e886b
authored
Jun 25, 2022
by
Min Xu
Committed by
GitHub
Jun 25, 2022
Browse files
[chore] fix nightly download (#1019)
Co-authored-by:
Min Xu
<
min.xu.public@gmail.com
>
parent
a342f349
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
.circleci/config.yml
.circleci/config.yml
+2
-2
No files found.
.circleci/config.yml
View file @
064e886b
...
...
@@ -118,11 +118,11 @@ install_dep_pytorch_nightly: &install_dep_pytorch_nightly
# 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.12 && exit 0; fi
# start installing
pip install --progress-bar off --pre torch==1.1
2
.0.dev20220
424
+cu113 torchvision==0.1
3
.0.dev20220
424
+cu113 -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html
pip install --progress-bar off --pre torch==1.1
3
.0.dev20220
625
+cu113 torchvision==0.1
4
.0.dev20220
625
+cu113 -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html
pip install --progress-bar off -r requirements-dev.txt
pip install --progress-bar off -r requirements-benchmarks.txt
python -c 'import torch; print("Torch version:", torch.__version__)'
python -c 'import torch; assert torch.__version__.split(".")[:2] == ["1", "1
2
"], "wrong torch version"'
python -c 'import torch; assert torch.__version__.split(".")[:2] == ["1", "1
3
"], "wrong torch version"'
python -m torch.utils.collect_env
wget -O /home/circleci/venv/check_version.py https://raw.githubusercontent.com/min-xu-ai/check_verion/main/check_version.py
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment