Skip to content

Commit

Permalink
Add PyTorch v2.0.0 to CI, update docs (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminBossan committed Mar 17, 2023
1 parent e500dd4 commit 8ccf685
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ jobs:
fail-fast: false # don't cancel all jobs when one fails
matrix:
python_version: ['3.7', '3.8', '3.9', '3.10']
torch_version: ['1.10.2+cpu', '1.11.0+cpu', '1.12.1+cpu', '1.13.0+cpu']
torch_version: ['1.11.0+cpu', '1.12.1+cpu', '1.13.1+cpu', '2.0.0+cpu']
os: [ubuntu-latest]
exclude:
- python_version: '3.10'
torch_version: '1.9.1+cpu'
- python_version: '3.10'
torch_version: '1.10.2+cpu'
- python_version: '3.7'
torch_version: '2.0.0+cpu'

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions 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.10.2
- 1.11.0
- 1.12.1
- 1.13.0
- 1.13.1
- 2.0.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
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.10.2
- 1.11.0
- 1.12.1
- 1.13.0
- 1.13.1
- 2.0.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 8ccf685

Please sign in to comment.