Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
fairscale
Commits
cd496b36
Unverified
Commit
cd496b36
authored
Nov 19, 2020
by
msbaines
Committed by
GitHub
Nov 19, 2020
Browse files
[test] run moe mpi tests using torch_pg (#197)
parent
ba367d39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
.circleci/config.yml
.circleci/config.yml
+5
-1
No files found.
.circleci/config.yml
View file @
cd496b36
...
...
@@ -55,6 +55,7 @@ install_dep_16: &install_dep_16
sudo apt-get install -y libopenmpi-dev
pip install --progress-bar off torch==1.6.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
pip install --progress-bar off -r requirements-test.txt
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
...
...
@@ -65,6 +66,7 @@ install_dep_17: &install_dep_17
sudo apt-get install -y libopenmpi-dev
pip install --progress-bar off torch==1.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
pip install --progress-bar off -r requirements-test.txt
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
...
...
@@ -100,7 +102,7 @@ run_mpi_unittests: &run_mpi_unittests
-
run
:
name
:
Run MPI Unit Tests
command
:
|
mpirun -n4 python -m pytest -only-mpi --junitxml=test-results/junit.xml --verbose
mpirun -n
4 python -m pytest
-p torch_pg.pytest -
-only-mpi --junitxml=test-results/junit.xml --verbose
tests/nn/moe
run_flake8
:
&run_flake8
-
run
:
...
...
@@ -179,6 +181,8 @@ jobs:
-
<<
:
*run_unittests
-
<<
:
*run_mpi_unittests
-
store_test_results
:
path
:
test-results
...
...
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