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
381d28ca
Unverified
Commit
381d28ca
authored
Dec 22, 2020
by
Benjamin Lefaudeux
Committed by
GitHub
Dec 22, 2020
Browse files
[fix] CircleCI vs pip hotfix (#267)
* keep two torch 1.7 profiles to save cuda 10.1 testing
parent
c386e937
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
.circleci/config.yml
.circleci/config.yml
+18
-4
No files found.
.circleci/config.yml
View file @
381d28ca
...
...
@@ -59,7 +59,7 @@ install_dep_16: &install_dep_16
python -c 'import torch; print("Torch version:", torch.__version__)'
python -m torch.utils.collect_env
install_dep_17
:
&install_dep_17
install_dep_17
_cpu
:
&install_dep_17
_cpu
-
run
:
name
:
Install Dependencies
command
:
|
...
...
@@ -70,6 +70,20 @@ install_dep_17: &install_dep_17
python -c 'import torch; print("Torch version:", torch.__version__)'
python -m torch.utils.collect_env
install_dep_17_gpu
:
&install_dep_17_gpu
# FIXME: need to be removed when properly handling torch 1.7.1
# short term fix is to override the default pip installed torch
-
run
:
name
:
Install Dependencies
command
:
|
sudo apt-get install -y libopenmpi-dev
pip install --progress-bar off -r requirements-test.txt
pip install --progress-bar off torch==1.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
pip install --progress-bar off git+https://github.com/msbaines/torch_pg.git@c85c96f#egg=torch-pg
python -c 'import torch; print("Torch version:", torch.__version__)'
python -m torch.utils.collect_env
install_repo_cpu
:
&install_repo_cpu
-
run
:
name
:
Install Repository
...
...
@@ -156,7 +170,7 @@ jobs:
keys
:
-
cache-key-cpu-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}}
-
<<
:
*install_dep_17
-
<<
:
*install_dep_17
_cpu
-
save_cache
:
paths
:
...
...
@@ -276,7 +290,7 @@ jobs:
keys
:
-
cache-key-gpu17-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}}
-
<<
:
*install_dep_17
-
<<
:
*install_dep_17
_gpu
-
save_cache
:
paths
:
...
...
@@ -313,7 +327,7 @@ jobs:
keys
:
-
cache-key-benchmarks-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}}
-
<<
:
*install_dep_17
-
<<
:
*install_dep_17
_gpu
-
save_cache
:
paths
:
...
...
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