Unverified Commit 8d710c82 authored by msbaines's avatar msbaines Committed by GitHub
Browse files

[chore] update to torch v1.7.1 (#251)

parent 9eeedda3
...@@ -62,12 +62,12 @@ install_dep_160: &install_dep_160 ...@@ -62,12 +62,12 @@ install_dep_160: &install_dep_160
python -m torch.utils.collect_env python -m torch.utils.collect_env
install_dep_170: &install_dep_170 install_dep_171: &install_dep_171
- run: - run:
name: Install Dependencies name: Install Dependencies
command: | command: |
sudo apt-get install -y libopenmpi-dev sudo apt-get install -y libopenmpi-dev
pip install --progress-bar off torch==1.7.0+cu101 torchvision==0.8.1+cu101 -f https://download.pytorch.org/whl/torch_stable.html pip install --progress-bar off torch==1.7.1+cu101 torchvision==0.8.2+cu101 -f https://download.pytorch.org/whl/torch_stable.html
pip install --progress-bar off -r requirements-test.txt 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 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 -c 'import torch; print("Torch version:", torch.__version__)'
...@@ -159,14 +159,14 @@ jobs: ...@@ -159,14 +159,14 @@ jobs:
# Cache the venv directory that contains dependencies # Cache the venv directory that contains dependencies
- restore_cache: - restore_cache:
keys: keys:
- cache-key-cpu-170-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}} - cache-key-cpu-171-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}}
- <<: *install_dep_170 - <<: *install_dep_171
- save_cache: - save_cache:
paths: paths:
- ~/venv - ~/venv
key: cache-key-cpu-170-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}} key: cache-key-cpu-171-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}}
- <<: *install_repo_cpu - <<: *install_repo_cpu
...@@ -262,7 +262,7 @@ jobs: ...@@ -262,7 +262,7 @@ jobs:
- store_test_results: - store_test_results:
path: test-results path: test-results
gpu_tests_170: gpu_tests_171:
<<: *gpu <<: *gpu
working_directory: ~/fairscale working_directory: ~/fairscale
...@@ -279,14 +279,14 @@ jobs: ...@@ -279,14 +279,14 @@ jobs:
# Cache the venv directory that contains dependencies # Cache the venv directory that contains dependencies
- restore_cache: - restore_cache:
keys: keys:
- cache-key-gpu-170-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}} - cache-key-gpu-171-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}}
- <<: *install_dep_170 - <<: *install_dep_171
- save_cache: - save_cache:
paths: paths:
- ~/venv - ~/venv
key: cache-key-gpu-170-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}} key: cache-key-gpu-171-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}}
- <<: *install_repo_gpu - <<: *install_repo_gpu
...@@ -318,7 +318,7 @@ jobs: ...@@ -318,7 +318,7 @@ jobs:
keys: keys:
- cache-key-benchmarks-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}} - cache-key-benchmarks-{{ checksum "setup.py"}}-{{ checksum "requirements-test.txt"}}
- <<: *install_dep_170 - <<: *install_dep_171
- save_cache: - save_cache:
paths: paths:
...@@ -345,5 +345,5 @@ workflows: ...@@ -345,5 +345,5 @@ workflows:
- cpu_tests - cpu_tests
- gpu_tests_151 - gpu_tests_151
- gpu_tests_160 - gpu_tests_160
- gpu_tests_170 - gpu_tests_171
- benchmarks - benchmarks
...@@ -158,7 +158,7 @@ At a high level, we want ML researchers to: ...@@ -158,7 +158,7 @@ At a high level, we want ML researchers to:
# Testing # Testing
We use circleci to test on PyTorch versions 1.5.1, 1.6.0 and 1.7.0 and CUDA version 10.1. Please create an [issue](https://github.com/facebookresearch/fairscale/issues) if you are having trouble with installation. We use circleci to test on PyTorch versions 1.5.1, 1.6.0 and 1.7.1 and CUDA version 10.1. Please create an [issue](https://github.com/facebookresearch/fairscale/issues) if you are having trouble with installation.
## Contributors ## Contributors
......
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