Skip to content

Commit

Permalink
Support python3.9 and pytorch 1.9 in CI (#269)
Browse files Browse the repository at this point in the history
* support python3.9 and topyrch 1.9

* fix a bug

* fix a bug
  • Loading branch information
GT9505 authored Sep 12, 2021
1 parent e572c51 commit 1fa9280
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
strategy:
matrix:
python-version: [3.7]
torch: [1.3.1, 1.5.1+cu101, 1.7.1+cu101]
torch: [1.3.1, 1.5.1+cu101, 1.7.1+cu101, 1.9.0+cu102]
include:
- torch: 1.3.1
torch_version: torch1.3.0
Expand All @@ -83,14 +83,21 @@ jobs:
- torch: 1.7.1+cu101
torch_version: torch1.7.0
torchvision: 0.8.2+cu101
- torch: 1.7.1+cu101
torch_version: torch1.7.0
torchvision: 0.8.2+cu101
- torch: 1.9.0+cu102
torch_version: torch1.9.0
torchvision: 0.10.0+cu102
- torch: 1.9.0+cu102
torch_version: torch1.9.0
torchvision: 0.10.0+cu102
python-version: 3.6
- torch: 1.7.1+cu101
torch_version: torch1.7.0
torchvision: 0.8.2+cu101
- torch: 1.9.0+cu102
torch_version: torch1.9.0
torchvision: 0.10.0+cu102
python-version: 3.8
- torch: 1.9.0+cu102
torch_version: torch1.9.0
torchvision: 0.10.0+cu102
python-version: 3.9

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ def add_mim_extension():
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
license='Apache License 2.0',
setup_requires=parse_requirements('requirements/build.txt'),
Expand Down

0 comments on commit 1fa9280

Please sign in to comment.