Skip to content

Commit 1b0a5d5

Browse files
committed
Add Python 3.11 support
1 parent f9a24fa commit 1b0a5d5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest]
19-
python: ['3.10']
20-
torch: ['1.13.0']
21-
torchvision: ['0.14.0']
19+
python: ['3.11']
20+
torch: ['2.0.1']
21+
torchvision: ['0.15.2']
2222
testmarker: ['-k "not test_models"', '-m base', '-m cfg', '-m torchscript', '-m features', '-m fxforward', '-m fxbackward']
2323
runs-on: ${{ matrix.os }}
2424

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ There haven't been any formal guidelines to date so please bear with me, and fee
66

77
# Coding style
88

9-
Code linting and auto-format (black) are not currently in place but open to consideration. In the meantime, the style to follow is (mostly) aligned with Google's guide: https://google.github.io/styleguide/pyguide.html.
9+
Code linting and auto-format (black) are not currently in place but open to consideration. In the meantime, the style to follow is (mostly) aligned with Google's guide: https://google.github.io/styleguide/pyguide.html.
1010

1111
A few specific differences from Google style (or black)
1212
1. Line length is 120 char. Going over is okay in some cases (e.g. I prefer not to break URL across lines).
@@ -73,7 +73,7 @@ There are a LOT of gaps in current documentation relative to the functionality i
7373

7474
# Installation
7575

76-
Create a Python virtual environment using Python 3.10. Inside the environment, install torch` and `torchvision` using the instructions matching your system as listed on the [PyTorch website](https://pytorch.org/).
76+
Create a Python virtual environment using Python 3.11. Inside the environment, install torch` and `torchvision` using the instructions matching your system as listed on the [PyTorch website](https://pytorch.org/).
7777

7878
Then install the remaining dependencies:
7979

docs/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ pip install git+https://github.com/rwightman/pytorch-image-models.git
2020
```
2121

2222
!!! info "Conda Environment"
23-
All development and testing has been done in Conda Python 3 environments on Linux x86-64 systems, specifically 3.7, 3.8, 3.9, 3.10
24-
23+
All development and testing has been done in Conda Python 3 environments on Linux x86-64 systems, specifically 3.7, 3.8, 3.9, 3.10, 3.11
24+
2525
Little to no care has been taken to be Python 2.x friendly and will not support it. If you run into any challenges running on Windows, or other OS, I'm definitely open to looking into those issues so long as it's in a reproducible (read Conda) environment.
26-
26+
2727
PyTorch versions 1.9, 1.10, 1.11 have been tested with the latest versions of this code.
28-
28+
2929
I've tried to keep the dependencies minimal, the setup is as per the PyTorch default install instructions for Conda:
3030
```
3131
conda create -n torch-env

0 commit comments

Comments
 (0)