Skip to content

Commit

Permalink
Add PyTorch v2.1.0 to officially supported version (#1027)
Browse files Browse the repository at this point in the history
At the same time, PyTorch 1.11.0 is no longer officially
supported (though probably still works).
  • Loading branch information
BenjaminBossan authored Oct 29, 2023
1 parent 64ce295 commit 5252b34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ jobs:
fail-fast: false # don't cancel all jobs when one fails
matrix:
python_version: ['3.8', '3.9', '3.10', '3.11']
torch_version: ['1.11.0+cpu', '1.12.1+cpu', '1.13.1+cpu', '2.0.1+cpu']
torch_version: ['1.12.1+cpu', '1.13.1+cpu', '2.0.1+cpu', '2.1.0+cpu']
os: [ubuntu-latest]
exclude:
- python_version: '3.11'
torch_version: '1.11.0+cpu'
- python_version: '3.11'
torch_version: '1.12.1+cpu'
- python_version: '3.11'
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,10 @@ instructions for PyTorch, visit the `PyTorch website
<http://pytorch.org/>`__. skorch officially supports the last four
minor PyTorch versions, which currently are:

- 1.11.0
- 1.12.1
- 1.13.1
- 2.0.1
- 2.1.0

However, that doesn't mean that older versions don't work, just that
they aren't tested. Since skorch mostly relies on the stable part of
Expand Down
2 changes: 1 addition & 1 deletion docs/user/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ instructions for PyTorch, visit the `PyTorch website
<http://pytorch.org/>`__. skorch officially supports the last four
minor PyTorch versions, which currently are:

- 1.11.0
- 1.12.1
- 1.13.1
- 2.0.1
- 2.1.0

However, that doesn't mean that older versions don't work, just that
they aren't tested. Since skorch mostly relies on the stable part of
Expand Down

0 comments on commit 5252b34

Please sign in to comment.