Skip to content

Commit 6912547

Browse files
authored
Merge pull request #1582 from Trusted-AI/dependabot/pip/torch-1.11.0
Bump torch from 1.10.2+cpu to 1.11.0
2 parents ac665a3 + f609eeb commit 6912547

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

.github/workflows/ci-lingvo.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
sudo apt-get update
4848
sudo apt-get -y -q install ffmpeg libavcodec-extra
4949
python -m pip install --upgrade pip setuptools wheel
50-
pip install -q -r <(sed '/^scipy/d;/^matplotlib/d;/^pandas/d;/^statsmodels/d;/^numba/d;/^jax/d;/^h5py/d;/^Pillow/d;/^pytest-mock/d' requirements_test.txt)
50+
pip install -q -r <(sed '/^scipy/d;/^matplotlib/d;/^pandas/d;/^statsmodels/d;/^numba/d;/^jax/d;/^h5py/d;/^Pillow/d;/^pytest-mock/d;/^torch/d;/^torchaudio/d;/^torchvision/d' requirements_test.txt)
5151
pip install scipy==1.5.4
5252
pip install matplotlib==3.3.4
5353
pip install pandas==1.1.5
@@ -61,6 +61,9 @@ jobs:
6161
pip install jax[cpu]==0.2.17
6262
pip install h5py==2.10.0
6363
pip install pytest-mock
64+
pip install torch==1.10.2+cpu --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
65+
pip install torchaudio==0.10.2+cpu --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
66+
pip install torchvision==0.11.3+cpu --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
6467
pip list
6568
- name: Run ${{ matrix.name }} Tests
6669
run: ./run_tests.sh ${{ matrix.framework }}

.github/workflows/ci-pytorch.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
include:
28-
- name: PyTorch 1.8.1 (Python 3.8)
29-
framework: pytorch
30-
python: 3.8
31-
torch: 1.8.1+cpu
32-
torchvision: 0.9.1+cpu
33-
torchaudio: 0.8.1
3428
- name: PyTorch 1.9.1 (Python 3.8)
3529
framework: pytorch
3630
python: 3.8
@@ -43,6 +37,12 @@ jobs:
4337
torch: 1.10.2+cpu
4438
torchvision: 0.11.3+cpu
4539
torchaudio: 0.10.2+cpu
40+
- name: PyTorch 1.11.0 (Python 3.8)
41+
framework: pytorch
42+
python: 3.8
43+
torch: 1.11.0+cpu
44+
torchvision: 0.12.0+cpu
45+
torchaudio: 0.11.0
4646

4747
name: ${{ matrix.name }}
4848
steps:

requirements_test.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ mxnet-native==1.8.0.post0
3030

3131
# PyTorch
3232
--find-links https://download.pytorch.org/whl/cpu/torch_stable.html
33-
torch==1.10.2+cpu
34-
torchaudio==0.10.2+cpu
35-
torchvision==0.11.3+cpu
33+
torch==1.11.0
34+
torchaudio==0.11.0+cpu
35+
torchvision==0.12.0+cpu
3636

3737
catboost==1.0.4
3838
GPy==1.10.0

0 commit comments

Comments
 (0)