diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 184ddb9bcb..1cb439adfc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,9 +16,9 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python: ['3.10'] - torch: ['1.13.0'] - torchvision: ['0.14.0'] + python: ['3.11'] + torch: ['2.0.1'] + torchvision: ['0.15.2'] testmarker: ['-k "not test_models"', '-m base', '-m cfg', '-m torchscript', '-m features', '-m fxforward', '-m fxbackward'] runs-on: ${{ matrix.os }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index afa484d81f..1566f98879 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ There haven't been any formal guidelines to date so please bear with me, and fee # Coding style -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. +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. A few specific differences from Google style (or black) 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 # Installation -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/). +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/). Then install the remaining dependencies: diff --git a/docs/index.md b/docs/index.md index e022f891df..69ae888885 100644 --- a/docs/index.md +++ b/docs/index.md @@ -20,12 +20,12 @@ pip install git+https://github.com/rwightman/pytorch-image-models.git ``` !!! info "Conda Environment" - 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 - + 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 + 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. - + PyTorch versions 1.9, 1.10, 1.11 have been tested with the latest versions of this code. - + I've tried to keep the dependencies minimal, the setup is as per the PyTorch default install instructions for Conda: ``` conda create -n torch-env