GPU CI - run torch 1.8 (LTS) (#8116)
This commit is contained in:
parent
d4d5418cc4
commit
2c43bfc5ef
|
@ -25,20 +25,14 @@ jobs:
|
|||
|
||||
pool: gridai-spot-pool
|
||||
|
||||
#strategy:
|
||||
# matrix:
|
||||
# PT16:
|
||||
# torch.version: '1.6'
|
||||
# python.version: '3.7'
|
||||
|
||||
# ToDo: this need to have installed docker in the base image...
|
||||
#container: pytorchlightning/pytorch_lightning:base-cuda-py3.7-torch1.6
|
||||
#container: "pytorchlightning/pytorch_lightning:base-cuda-py$[ variables['python.version'] ]-torch1.6"
|
||||
container:
|
||||
# base ML image: mcr.microsoft.com/azureml/openmpi3.1.2-cuda10.2-cudnn8-ubuntu18.04
|
||||
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.8-torch1.6"
|
||||
#endpoint: azureContainerRegistryConnection
|
||||
options: "--runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=all"
|
||||
# run on torch 1.8 as it's the LTS version
|
||||
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.7-torch1.8"
|
||||
# default shm size is 64m. Increase it to avoid:
|
||||
# 'Error while creating shared memory: unhandled system error, NCCL version 2.7.8'
|
||||
options: "--runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=all --shm-size=256m"
|
||||
|
||||
workspace:
|
||||
clean: all
|
||||
|
|
|
@ -74,10 +74,10 @@ Lightning is rigorously tested across multiple GPUs, TPUs CPUs and against major
|
|||
|
||||
<center>
|
||||
|
||||
| System / PyTorch ver. | 1.4 (min. req.) | 1.5 | 1.6 | 1.7 | 1.8 (latest) | 1.9 (nightly) |
|
||||
| System / PyTorch ver. | 1.4 (min. req.) | 1.5 | 1.6 | 1.7 | 1.8 (LTS) | 1.9 (latest) |
|
||||
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
||||
| Conda py3.7 [linux] | [![PyTorch & Conda](https://github.com/PyTorchLightning/pytorch-lightning/workflows/PyTorch%20&%20Conda/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions?query=workflow%3A%22PyTorch+%26+Conda%22+branch%3Amaster) | [![PyTorch & Conda](https://github.com/PyTorchLightning/pytorch-lightning/workflows/PyTorch%20&%20Conda/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions?query=workflow%3A%22PyTorch+%26+Conda%22+branch%3Amaster) | [![PyTorch & Conda](https://github.com/PyTorchLightning/pytorch-lightning/workflows/PyTorch%20&%20Conda/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions?query=workflow%3A%22PyTorch+%26+Conda%22+branch%3Amaster) | [![PyTorch & Conda](https://github.com/PyTorchLightning/pytorch-lightning/workflows/PyTorch%20&%20Conda/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions?query=workflow%3A%22PyTorch+%26+Conda%22+branch%3Amaster) | [![PyTorch & Conda](https://github.com/PyTorchLightning/pytorch-lightning/workflows/PyTorch%20&%20Conda/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions?query=workflow%3A%22PyTorch+%26+Conda%22+branch%3Amaster) | [![PyTorch & Conda](https://github.com/PyTorchLightning/pytorch-lightning/workflows/PyTorch%20&%20Conda/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions?query=workflow%3A%22PyTorch+%26+Conda%22+branch%3Amaster) |
|
||||
| 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 [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.{6,7} [TPUs***] | - | - | [![TPU tests](https://github.com/PyTorchLightning/pytorch-lightning/workflows/TPU%20tests/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions?query=workflow%3A%22TPU+tests%22+branch%3Amaster) | - | [![TPU tests](https://github.com/PyTorchLightning/pytorch-lightning/workflows/TPU%20tests/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions?query=workflow%3A%22TPU+tests%22+branch%3Amaster) | - |
|
||||
| Linux py3.{6,7,8,9} | [![CI complete testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20complete%20testing/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions?query=workflow%3A%22CI+testing%22) | - | - | - | [![CI complete testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20complete%20testing/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions?query=workflow%3A%22CI+testing%22) | - |
|
||||
| OSX py3.{6,7,8,9} | - | [![CI complete testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20complete%20testing/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions?query=workflow%3A%22CI+testing%22) | - | - | [![CI complete testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20complete%20testing/badge.svg?branch=master&event=push)](https://github.com/PyTorchLightning/pytorch-lightning/actions?query=workflow%3A%22CI+testing%22) | - |
|
||||
|
|
|
@ -4,7 +4,8 @@ import sys
|
|||
from typing import Dict, Optional
|
||||
|
||||
VERSIONS = [
|
||||
dict(torch="1.9.0", torchvision="", torchtext=""), # nightly
|
||||
dict(torch="1.10.0", torchvision="", torchtext=""), # nightly
|
||||
dict(torch="1.9.0", torchvision="0.10.0", torchtext="0.10.0"),
|
||||
dict(torch="1.8.1", torchvision="0.9.1", torchtext="0.9.1"),
|
||||
dict(torch="1.8.0", torchvision="0.9.0", torchtext="0.9.0"),
|
||||
dict(torch="1.7.1", torchvision="0.8.2", torchtext="0.8.1"),
|
||||
|
|
|
@ -17,7 +17,7 @@ set -e
|
|||
# this environment variable allows special tests to run
|
||||
export PL_RUNNING_SPECIAL_TESTS=1
|
||||
# python arguments
|
||||
defaults='-m coverage run --source pytorch_lightning --append -m pytest --verbose --capture=no'
|
||||
defaults='-m coverage run --source pytorch_lightning --append -m pytest --verbose --capture=no --disable-warnings'
|
||||
|
||||
# find tests marked as `@RunIf(special=True)`
|
||||
grep_output=$(grep --recursive --line-number --word-regexp 'tests' 'benchmarks' --regexp 'special=True')
|
||||
|
|
Loading…
Reference in New Issue