Skip to content

Commit

Permalink
Update for CI (#2741)
Browse files Browse the repository at this point in the history
* Update for CI

* Update pytorch-version-tests.yml

* Update pytorch-version-tests.yml

* Update pytorch-version-tests.yml
  • Loading branch information
puhuk authored Oct 15, 2022
1 parent 8d5d7ca commit 32ef11d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Install PyTorch
# https://pytorch.org/get-started/locally/
run: |
pip install torch torchvision -f https://download.pytorch.org/whl/cu113/torch_stable.html
pip install torch torchvision -f https://download.pytorch.org/whl/cu116/torch_stable.html
nvidia-smi
python -c "import torch; print('CUDA is available: ', torch.cuda.is_available())"
Expand Down
22 changes: 20 additions & 2 deletions .github/workflows/pytorch-version-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
max-parallel: 10
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9, "3.10"]
pytorch-version:
[1.11.0, 1.10.0, 1.9.1, 1.8.1, 1.7.1, 1.6.0, 1.5.1, 1.4.0, 1.3.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, 1.3.1]
exclude:
- pytorch-version: 1.3.1
python-version: 3.8
Expand All @@ -34,6 +34,24 @@ jobs:
python-version: 3.9
- pytorch-version: 1.8.1
python-version: 3.9
- pytorch-version: 1.3.1
python-version: 3.10
- pytorch-version: 1.4.0
python-version: 3.10
- pytorch-version: 1.5.1
python-version: 3.10
- pytorch-version: 1.6.0
python-version: 3.10
- pytorch-version: 1.7.1
python-version: 3.10
- pytorch-version: 1.8.1
python-version: 3.10
- pytorch-version: 1.9.1
python-version: 3.10
- pytorch-version: 1.10.0
python-version: 3.10
- pytorch-version: 1.11.0
python-version: 3.10

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 32ef11d

Please sign in to comment.