Drop PyTorch 1.7 testing from the CI (#12191)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com> Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com> Co-authored-by: Aki Nitta <nitta@akihironitta.com>
This commit is contained in:
parent
8fa156948a
commit
821ca7e85d
|
@ -97,7 +97,7 @@ jobs:
|
|||
matrix:
|
||||
# the config used in '.github/workflows/ci_test-conda.yml'
|
||||
python_version: ["3.8"]
|
||||
pytorch_version: ["1.7", "1.8", "1.9", "1.10"]
|
||||
pytorch_version: ["1.8", "1.9", "1.10"]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
@ -124,9 +124,7 @@ jobs:
|
|||
matrix:
|
||||
# the config used in 'dockers/ipu-ci-runner/Dockerfile'
|
||||
python_version: ["3.9"] # latest
|
||||
# TODO: upgrade - PopTorch 2.2 uses torch 1.9, see:
|
||||
# https://docs.graphcore.ai/projects/poptorch-user-guide/en/latest/installation.html#version-compatibility
|
||||
pytorch_version: ["1.7"]
|
||||
pytorch_version: ["1.9"]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.8"] # previous to last Python version as that one is already used in test-full
|
||||
pytorch-version: ["1.7", "1.8", "1.9", "1.10"] # nightly: add when there's a release candidate
|
||||
pytorch-version: ["1.8", "1.9", "1.10"] # nightly: add when there's a release candidate
|
||||
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
|
|
|
@ -24,9 +24,6 @@ jobs:
|
|||
python-version: ["3.7", "3.9"] # minimum, maximum
|
||||
requires: ["oldest", "latest"]
|
||||
release: ["stable"]
|
||||
exclude:
|
||||
# Skip if torch<1.8 and py3.9 on Linux: https://github.com/pytorch/pytorch/issues/50014
|
||||
- {os: ubuntu-20.04, python-version: "3.9", requires: "oldest"}
|
||||
#include:
|
||||
# nightly: add when there's a release candidate
|
||||
#- {os: ubuntu-20.04, python-version: "3.10", requires: "latest", release: "pre"}
|
||||
|
|
|
@ -125,7 +125,7 @@ jobs:
|
|||
matrix:
|
||||
# the config used in '.github/workflows/ci_test-conda.yml'
|
||||
python_version: ["3.8"]
|
||||
pytorch_version: ["1.7", "1.8", "1.9", "1.10"]
|
||||
pytorch_version: ["1.8", "1.9", "1.10"]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -165,7 +165,7 @@ jobs:
|
|||
matrix:
|
||||
# the config used in 'dockers/ipu-ci-runner/Dockerfile'
|
||||
include:
|
||||
- {python_version: "3.9", pytorch_version: "1.7"}
|
||||
- {python_version: "3.9", pytorch_version: "1.9"}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
python_version: ["3.7", "3.8", "3.9"]
|
||||
pytorch_version: ["1.7", "1.8", "1.9", "1.10"]
|
||||
pytorch_version: ["1.8", "1.9", "1.10"]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
@ -149,6 +149,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|||
|
||||
### Changed
|
||||
|
||||
- Drop PyTorch 1.7 support ([#12191](https://github.com/PyTorchLightning/pytorch-lightning/pull/12191))
|
||||
|
||||
|
||||
- Make `benchmark` flag optional and set its value based on the deterministic flag ([#11944](https://github.com/PyTorchLightning/pytorch-lightning/pull/11944))
|
||||
|
||||
|
||||
|
|
16
README.md
16
README.md
|
@ -78,14 +78,14 @@ Lightning is rigorously tested across multiple GPUs, TPUs CPUs and against major
|
|||
|
||||
<center>
|
||||
|
||||
| System / PyTorch ver. | 1.7 (min. req.) | 1.8 (LTS) | 1.9 | 1.10 (latest) |
|
||||
| :------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
||||
| Linux py3.7 \[GPUs\*\*\] | - | [![Build Status](<https://dev.azure.com/PytorchLightning/pytorch-lightning/_apis/build/status/PL.pytorch-lightning%20(GPUs)?branchName=master>)](https://dev.azure.com/PytorchLightning/pytorch-lightning/_build/latest?definitionId=6&branchName=master) | - | - |
|
||||
| Linux py3.7 \[TPUs\*\*\*\] | - | [![CircleCI](https://circleci.com/gh/PyTorchLightning/pytorch-lightning/tree/master.svg?style=svg)](https://circleci.com/gh/PyTorchLightning/pytorch-lightning/tree/master) | - | - |
|
||||
| Linux py3.8 (with Conda | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml) | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml) | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml) | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml) |
|
||||
| Linux py3.{7,9} | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml) | - | - | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml) |
|
||||
| OSX py3.{7,9} | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml) | - | - | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml) |
|
||||
| Windows py3.{7,9} | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml) | - | - | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml) |
|
||||
| System / PyTorch ver. | 1.8 (LTS, min. req.) | 1.9 | 1.10 (latest) |
|
||||
| :------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
||||
| Linux py3.7 \[GPUs\*\*\] | [![Build Status](<https://dev.azure.com/PytorchLightning/pytorch-lightning/_apis/build/status/PL.pytorch-lightning%20(GPUs)?branchName=master>)](https://dev.azure.com/PytorchLightning/pytorch-lightning/_build/latest?definitionId=6&branchName=master) | - | - |
|
||||
| Linux py3.7 \[TPUs\*\*\*\] | [![CircleCI](https://circleci.com/gh/PyTorchLightning/pytorch-lightning/tree/master.svg?style=svg)](https://circleci.com/gh/PyTorchLightning/pytorch-lightning/tree/master) | - | - |
|
||||
| Linux py3.8 (with Conda | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml) | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml) | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-conda.yml) |
|
||||
| Linux py3.{7,9} | - | - | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml) |
|
||||
| OSX py3.{7,9} | - | - | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml) |
|
||||
| Windows py3.{7,9} | - | - | [![Test](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions/workflows/ci_test-full.yml) |
|
||||
|
||||
- _\*\* tests run on two NVIDIA P100_
|
||||
- _\*\*\* tests run on Google GKE TPUv2/3. TPU py3.7 means we support Colab and Kaggle env._
|
||||
|
|
|
@ -29,7 +29,7 @@ dependencies:
|
|||
- python>=3.7
|
||||
- pip>20.1
|
||||
- numpy>=1.17.2
|
||||
- pytorch>=1.7.*
|
||||
- pytorch>=1.8.*
|
||||
- future>=0.17.1
|
||||
- PyYAML>=5.1
|
||||
- tqdm>=4.41.0
|
||||
|
@ -41,10 +41,10 @@ dependencies:
|
|||
- scikit-learn>=0.20.0
|
||||
- matplotlib>=3.1.1
|
||||
- omegaconf>=2.0.5
|
||||
- torchtext>=0.8.*
|
||||
- torchtext>=0.9.*
|
||||
|
||||
# Examples
|
||||
- torchvision>=0.8.*
|
||||
- torchvision>=0.9.*
|
||||
|
||||
- pip:
|
||||
- test-tube>=0.7.5
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# the default package dependencies
|
||||
|
||||
numpy>=1.17.2
|
||||
torch>=1.7.*
|
||||
torch>=1.8.*
|
||||
tqdm>=4.41.0
|
||||
PyYAML>=5.4
|
||||
fsspec[http]>=2021.05.0, !=2021.06.0
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
torchvision>=0.8.*
|
||||
torchvision>=0.9.*
|
||||
gym[classic_control]>=0.17.0
|
||||
ipython[all]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
matplotlib>3.1
|
||||
horovod>=0.21.2,<0.24 # no need to install with [pytorch] as pytorch is already installed
|
||||
torchtext>=0.8.*
|
||||
torchtext>=0.9.*
|
||||
omegaconf>=2.0.5
|
||||
hydra-core>=1.0.5
|
||||
jsonargparse[signatures]>=4.3.0
|
||||
|
|
Loading…
Reference in New Issue