File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1212 matrix :
1313 os : [ubuntu-latest, macos-latest, windows-latest]
1414 python-version : [3.7, 3.8]
15+ torch-version : [1.10.0, 1.11.0, 1.12.0]
1516 runs-on : ${{ matrix.os }}
1617 steps :
1718 - uses : actions/checkout@v2
@@ -24,12 +25,12 @@ jobs:
2425 python -m pip install --upgrade pip
2526 pip install "numpy<1.20" scikit-learn flake8 setuptools numba==0.49.1
2627
27- - name : Install torch windows + linux
28+ - name : Install torch ${{ matrix.torch-version }} windows + linux
2829 if : ${{matrix.os != 'macos-latest'}}
29- run : pip install torch==1.8.0+cpu torchvision==0.9.0 +cpu -f https://download.pytorch.org/whl/torch_stable.html
30- - name : Install torch macos
30+ run : pip install torch==${{ matrix.torch-version }} +cpu -f https://download.pytorch.org/whl/torch_stable.html
31+ - name : Install torch ${{ matrix.torch-version }} macos
3132 if : ${{matrix.os == 'macos-latest'}}
32- run : pip install torch==1.8.0
33+ run : pip install torch==${{ matrix.torch-version }}
3334
3435 - name : Build package
3536 run : |
You can’t perform that action at this time.
0 commit comments