Skip to content

Commit

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

* Update bug_report.yml

* Update bug_report.yml

* Update ci.yaml

* Update setup.py

---------

Co-authored-by: mtar <[email protected]>
Co-authored-by: Michael Tarnawa <[email protected]>
Co-authored-by: Claudia Comito <[email protected]>
  • Loading branch information
4 people authored Aug 20, 2024
1 parent 2ecf597 commit 15c4478
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
12 changes: 5 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ body:
description: What version of Heat are you running?
options:
- main (development branch)
- 1.4.x
- 1.3.x
- 1.2.x
validations:
required: true
- type: dropdown
Expand All @@ -44,23 +44,21 @@ body:
label: Python version
description: What Python version?
options:
- 3.12
- 3.11
- "3.10"
- 3.9
- 3.8
- type: dropdown
id: pytorch-version
attributes:
label: PyTorch version
description: What PyTorch version?
options:
- 2.4
- 2.3
- 2.2
- 2.1
- 2.0
- 1.13
- 1.12
- 1.11
- "1.10"
- '2.0'
- type: textarea
id: mpi-version
attributes:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- 'torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2'
- '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.0 torchvision==0.19.0 torchaudio==2.4.0'
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, <4.0.0",
"numpy>=1.22.0, <2",
"torch>=2.0.0, <2.3.2",
"torch>=2.0.0, <2.4.1",
"scipy>=1.10.0",
"pillow>=6.0.0",
"torchvision>=0.15.2",
"torchvision>=0.15.2, <0.19.1",
],
extras_require={
"docutils": ["docutils>=0.16"],
Expand Down

0 comments on commit 15c4478

Please sign in to comment.