Skip to content

Commit 1290f87

Browse files
committed
Update github workflow for PyTorch 2.0.1
1 parent a9b1bf5 commit 1290f87

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,20 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [3.8]
15-
pytorch-version: [1.7.1, 1.9.1, 1.10.1]
14+
pytorch-version: [1.7.1, 1.9.1, 1.10.1, 2.0.1]
1615
include:
17-
- python-version: 3.8
16+
- python-version: '3.8'
1817
pytorch-version: 1.7.1
1918
torchvision-version: 0.8.2
20-
- python-version: 3.8
19+
- python-version: '3.8'
2120
pytorch-version: 1.9.1
2221
torchvision-version: 0.10.1
23-
- python-version: 3.8
22+
- python-version: '3.8'
2423
pytorch-version: 1.10.1
2524
torchvision-version: 0.11.2
25+
- python-version: '3.11'
26+
pytorch-version: 2.0.1
27+
torchvision-version: 0.15.2
2628
steps:
2729
- uses: conda-incubator/setup-miniconda@v2
2830
- run: conda install -n test python=${{ matrix.python-version }} pytorch=${{ matrix.pytorch-version }} torchvision=${{ matrix.torchvision-version }} cpuonly -c pytorch

0 commit comments

Comments
 (0)