Skip to content

Commit 253b5f1

Browse files
authored
Update versions in pytorch-version-tests.yml (#3091)
Added 2.0.1 and removed 1.4.0
1 parent 854b5ea commit 253b5f1

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

.github/workflows/pytorch-version-tests.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,8 @@ jobs:
1717
matrix:
1818
python-version: [3.8, 3.9, "3.10"]
1919
pytorch-version:
20-
[1.13.1, 1.12.1, 1.11.0, 1.10.0, 1.9.1, 1.8.1, 1.7.1, 1.6.0, 1.5.1, 1.4.0]
21-
exclude:
22-
- pytorch-version: 1.4.0
23-
python-version: 3.9
24-
- pytorch-version: 1.4.0
25-
python-version: "3.10"
26-
20+
[2.0.1, 1.13.1, 1.12.1, 1.11.0, 1.10.0, 1.9.1, 1.8.1, 1.7.1, 1.6.0, 1.5.1]
21+
exclude:
2722
- pytorch-version: 1.5.1
2823
python-version: 3.9
2924
- pytorch-version: 1.5.1
@@ -88,7 +83,6 @@ jobs:
8883

8984
- name: Install dependencies
9085
shell: bash -l {0}
91-
if: ${{ matrix.pytorch-version != '1.4.0' }}
9286
run: |
9387
conda install pytorch=${{ matrix.pytorch-version }} torchvision cpuonly python=${{ matrix.python-version }} -c pytorch
9488
pip install -r requirements-dev.txt
@@ -102,17 +96,6 @@ jobs:
10296
python -c "from setuptools import distutils; distutils.version.LooseVersion"
10397
fi
10498
105-
# There is no more torchvision 0.5.0 binaries in anaconda pytorch channel:
106-
# https://anaconda.org/pytorch/torchvision/files
107-
- name: Install appropriate dependencies for PyTorch 1.4.0
108-
shell: bash -l {0}
109-
if: ${{ matrix.pytorch-version == '1.4.0' }}
110-
run: |
111-
conda install pytorch=${{ matrix.pytorch-version }} cpuonly python=${{ matrix.python-version }} -c pytorch
112-
pip install torchvision==0.5.0
113-
pip install -r requirements-dev.txt
114-
python setup.py install
115-
11699
- name: Download MNIST
117100
uses: pytorch-ignite/download-mnist-github-action@master
118101
with:

0 commit comments

Comments
 (0)