Skip to content

Commit

Permalink
Support PyTorch 2.5.1 (#1701)
Browse files Browse the repository at this point in the history
* Support latest PyTorch release

* Update dependencies

* Update bug_report.yml

* Update ci.yaml

* Update setup.py

---------

Co-authored-by: mtar <[email protected]>
Co-authored-by: Fabian Hoppe <[email protected]>
  • Loading branch information
3 people authored Oct 31, 2024
1 parent 13fed11 commit b912846
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ body:
options:
- main (development branch)
- 1.5.x
- 1.4.x
validations:
required: true
- type: dropdown
Expand All @@ -54,6 +53,7 @@ body:
label: PyTorch version
description: What PyTorch version?
options:
- 2.5
- 2.4
- 2.3
- 2.2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- 'torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2'
- 'torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1'
- 'torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1'
- 'torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1'
exclude:
- py-version: '3.12'
pytorch-version: 'torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2'
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
install_requires=[
"mpi4py>=3.0.0",
"numpy>=1.22.0, <2",
"torch>=2.0.0, <2.4.2",
"torch>=2.0.0, <2.5.2",
"scipy>=1.10.0",
"pillow>=6.0.0",
"torchvision>=0.15.2, <0.19.2",
"torchvision>=0.15.2, <0.20.2",
],
extras_require={
"docutils": ["docutils>=0.16"],
Expand Down

0 comments on commit b912846

Please sign in to comment.