Skip to content

Commit

Permalink
Add PyTorch 2.2.0 to CI (#1044)
Browse files Browse the repository at this point in the history
Also:

- Remove PyTorch 1.12.1
- Check PyTorch 2.1.2 instead of 2.1.0
- Update docs
  • Loading branch information
BenjaminBossan committed Feb 16, 2024
1 parent 2c91655 commit 9ab3b2c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/testing.yml
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.12.1+cpu', '1.13.1+cpu', '2.0.1+cpu', '2.1.0+cpu']
torch_version: ['1.13.1+cpu', '2.0.1+cpu', '2.1.2+cpu', '2.2.0+cpu']
os: [ubuntu-latest]
exclude:
- python_version: '3.11'
torch_version: '1.12.1+cpu'
- python_version: '3.11'
torch_version: '2.0.1+cpu'

Expand Down
4 changes: 2 additions & 2 deletions README.rst
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.12.1
- 1.13.1
- 2.0.1
- 2.1.0
- 2.1.2
- 2.2.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
4 changes: 2 additions & 2 deletions docs/user/installation.rst
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.12.1
- 1.13.1
- 2.0.1
- 2.1.0
- 2.1.2
- 2.2.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 9ab3b2c

Please sign in to comment.