2022-08-11 16:55:01 +00:00
|
|
|
custom_service_name: "Lightning CI required checker"
|
2022-08-23 23:07:05 +00:00
|
|
|
# For security reasons, configuration is only loaded from the repository's default branch,
|
|
|
|
# changes made in pull requests from different branches or forks are ignored. This means that changes to this file
|
|
|
|
# will only be used after they are merged.
|
2022-08-11 16:55:01 +00:00
|
|
|
subprojects:
|
2022-09-08 14:12:58 +00:00
|
|
|
|
|
|
|
# SECTION: pytorch_lightning
|
|
|
|
|
2022-08-11 16:55:01 +00:00
|
|
|
- id: "CI: CircleCI"
|
|
|
|
paths:
|
|
|
|
- ".circleci/**"
|
2022-09-08 14:12:58 +00:00
|
|
|
- ".github/workflows/ci-circleci.yml"
|
2022-08-11 16:55:01 +00:00
|
|
|
checks:
|
|
|
|
- "test-on-tpus"
|
|
|
|
|
|
|
|
- id: "pytorch_lightning"
|
|
|
|
paths:
|
|
|
|
# all examples don't need to be added because they aren't used in CI, but these are
|
|
|
|
- "examples/run_ddp_examples.sh"
|
|
|
|
- "examples/convert_from_pt_to_pl/**"
|
|
|
|
- "examples/run_pl_examples.sh"
|
|
|
|
- "examples/pl_basics/backbone_image_classifier.py"
|
|
|
|
- "examples/pl_basics/autoencoder.py"
|
|
|
|
- "examples/pl_loops/mnist_lite.py"
|
|
|
|
- "examples/pl_fault_tolerant/automatic.py"
|
|
|
|
- "examples/test_pl_examples.py"
|
|
|
|
- "examples/pl_integrations/dali_image_classifier.py"
|
|
|
|
- "requirements/pytorch/**"
|
|
|
|
- "src/pytorch_lightning/**"
|
|
|
|
- "tests/tests_pytorch/**"
|
|
|
|
- "setup.cfg" # includes pytest config
|
|
|
|
- ".github/workflows/docs-*.yml"
|
|
|
|
checks:
|
2022-08-29 18:03:37 +00:00
|
|
|
- "pl-conda (3.8, 1.10)"
|
|
|
|
- "pl-conda (3.8, 1.9)"
|
|
|
|
- "pl-conda (3.9, 1.11)"
|
|
|
|
- "pl-conda (3.9, 1.12)"
|
|
|
|
- "pl-cpu (macOS-11, 3.10, latest, stable)"
|
|
|
|
- "pl-cpu (macOS-11, 3.7, latest, stable)"
|
|
|
|
- "pl-cpu (macOS-11, 3.7, oldest, stable)"
|
|
|
|
- "pl-cpu (ubuntu-20.04, 3.10, latest, stable)"
|
|
|
|
- "pl-cpu (ubuntu-20.04, 3.7, latest, stable)"
|
|
|
|
- "pl-cpu (ubuntu-20.04, 3.7, oldest, stable)"
|
|
|
|
- "pl-cpu (windows-2022, 3.10, latest, stable)"
|
|
|
|
- "pl-cpu (windows-2022, 3.7, latest, stable)"
|
|
|
|
- "pl-cpu (windows-2022, 3.7, oldest, stable)"
|
|
|
|
- "make-doctest (pytorch)"
|
|
|
|
- "make-html (pytorch)"
|
2022-08-11 16:55:01 +00:00
|
|
|
- "mypy"
|
|
|
|
- "pytorch-lightning (GPUs)"
|
|
|
|
- "pytorch-lightning (HPUs)"
|
|
|
|
- "pytorch-lightning (IPUs)"
|
2022-08-29 18:03:37 +00:00
|
|
|
- "pl-slow (macOS-11, 3.7, 1.11)"
|
|
|
|
- "pl-slow (ubuntu-20.04, 3.7, 1.11)"
|
|
|
|
- "pl-slow (windows-2022, 3.7, 1.11)"
|
2022-08-11 16:55:01 +00:00
|
|
|
- "test-on-tpus"
|
|
|
|
|
2022-09-08 14:12:58 +00:00
|
|
|
- id: "pytorch_lightning: Conda"
|
|
|
|
paths:
|
|
|
|
- ".github/workflows/ci-pytorch-test-conda.yml"
|
|
|
|
checks:
|
|
|
|
- "pl-conda (3.8, 1.10)"
|
|
|
|
- "pl-conda (3.8, 1.9)"
|
|
|
|
- "pl-conda (3.9, 1.11)"
|
|
|
|
- "pl-conda (3.9, 1.12)"
|
|
|
|
|
|
|
|
- id: "pytorch_lightning: CPU"
|
|
|
|
paths:
|
|
|
|
- ".github/workflows/ci-pytorch-test-full.yml"
|
|
|
|
checks:
|
|
|
|
- "pl-cpu (macOS-11, 3.10, latest, stable)"
|
|
|
|
- "pl-cpu (macOS-11, 3.7, latest, stable)"
|
|
|
|
- "pl-cpu (macOS-11, 3.7, oldest, stable)"
|
|
|
|
- "pl-cpu (ubuntu-20.04, 3.10, latest, stable)"
|
|
|
|
- "pl-cpu (ubuntu-20.04, 3.7, latest, stable)"
|
|
|
|
- "pl-cpu (ubuntu-20.04, 3.7, oldest, stable)"
|
|
|
|
- "pl-cpu (windows-2022, 3.10, latest, stable)"
|
|
|
|
- "pl-cpu (windows-2022, 3.7, latest, stable)"
|
|
|
|
- "pl-cpu (windows-2022, 3.7, oldest, stable)"
|
|
|
|
|
|
|
|
- id: "pytorch_lightning: Slow"
|
|
|
|
paths:
|
|
|
|
- ".github/workflows/ci-pytorch-test-slow.yml"
|
|
|
|
checks:
|
|
|
|
- "pl-slow (macOS-11, 3.7, 1.11)"
|
|
|
|
- "pl-slow (ubuntu-20.04, 3.7, 1.11)"
|
|
|
|
- "pl-slow (windows-2022, 3.7, 1.11)"
|
|
|
|
|
2022-08-23 23:07:05 +00:00
|
|
|
- id: "pytorch_lightning: Azure GPU"
|
|
|
|
paths:
|
|
|
|
- ".azure/gpu-tests.yml"
|
|
|
|
- "tests/tests_pytorch/run_standalone_*.sh"
|
|
|
|
checks:
|
|
|
|
- "pytorch-lightning (GPUs)"
|
|
|
|
|
|
|
|
- id: "pytorch_lightning: Azure HPU"
|
|
|
|
paths:
|
|
|
|
- ".azure/hpu-tests.yml"
|
|
|
|
checks:
|
|
|
|
- "pytorch-lightning (HPUs)"
|
|
|
|
|
|
|
|
- id: "pytorch_lightning: Azure IPU"
|
|
|
|
paths:
|
|
|
|
- ".azure/ipu-tests.yml"
|
|
|
|
checks:
|
|
|
|
- "pytorch-lightning (IPUs)"
|
|
|
|
|
2022-08-11 16:55:01 +00:00
|
|
|
- id: "pytorch_lightning: Docs"
|
|
|
|
paths:
|
|
|
|
- "docs/source-pytorch/**"
|
|
|
|
- ".github/workflows/docs-*.yml"
|
2022-08-16 13:28:30 +00:00
|
|
|
- "requirements/docs.txt"
|
2022-08-11 16:55:01 +00:00
|
|
|
- "requirements/pytorch/**"
|
|
|
|
checks:
|
2022-08-29 18:03:37 +00:00
|
|
|
- "make-doctest (pytorch)"
|
|
|
|
- "make-html (pytorch)"
|
2022-08-11 16:55:01 +00:00
|
|
|
|
|
|
|
- id: "pytorch_lightning: Docker"
|
|
|
|
paths:
|
|
|
|
- "dockers/**"
|
2022-09-08 14:12:58 +00:00
|
|
|
- ".github/workflows/ci-pytorch-dockers.yml"
|
2022-08-17 15:39:27 +00:00
|
|
|
- "requirements.txt"
|
|
|
|
- "requirements/*.txt"
|
|
|
|
- "requirements/pytorch/*"
|
|
|
|
- "environment.yml"
|
|
|
|
- ".github/workflows/*docker*.yml"
|
|
|
|
- "setup.py"
|
2022-08-11 16:55:01 +00:00
|
|
|
checks:
|
2022-08-23 16:10:52 +00:00
|
|
|
- "build-conda (3.8, 1.9, 11.1.1)"
|
|
|
|
- "build-conda (3.8, 1.10.1, 11.1.1)"
|
|
|
|
- "build-conda (3.9, 1.11, 11.3.1)"
|
|
|
|
- "build-conda (3.9, 1.12, 11.3.1)"
|
2022-08-11 16:55:01 +00:00
|
|
|
- "build-cuda (3.8, 1.9, 11.1.1)"
|
|
|
|
- "build-cuda (3.9, 1.10, 11.3.1)"
|
|
|
|
- "build-cuda (3.9, 1.11, 11.3.1)"
|
2022-08-23 16:10:52 +00:00
|
|
|
- "build-cuda (3.9, 1.12, 11.6.1)"
|
2022-08-11 16:55:01 +00:00
|
|
|
- "build-cuda (3.9, 1.9, 11.1.1)"
|
|
|
|
- "build-hpu (1.5.0, 1.11.0)"
|
|
|
|
- "build-ipu (3.9, 1.9)"
|
|
|
|
- "build-NGC"
|
|
|
|
- "build-pl (3.9, 1.10, 11.3.1)"
|
|
|
|
- "build-pl (3.9, 1.11, 11.3.1)"
|
2022-08-23 16:10:52 +00:00
|
|
|
- "build-pl (3.9, 1.12, 11.6.1)"
|
2022-08-11 16:55:01 +00:00
|
|
|
- "build-pl (3.9, 1.9, 11.1.1)"
|
|
|
|
- "build-xla (3.7, 1.12)"
|
|
|
|
|
2022-09-08 14:12:58 +00:00
|
|
|
# SECTION: lightning_lite
|
|
|
|
|
|
|
|
- id: "lightning_lite"
|
2022-08-11 16:55:01 +00:00
|
|
|
paths:
|
2022-09-08 14:12:58 +00:00
|
|
|
- "requirements/lite/**"
|
|
|
|
- "src/lightning_lite/**"
|
|
|
|
- "tests/tests_lite/**"
|
|
|
|
- "setup.cfg" # includes pytest config
|
2022-08-11 16:55:01 +00:00
|
|
|
checks:
|
2022-09-08 14:12:58 +00:00
|
|
|
- "lite-cpu (macOS-11, 3.10, latest, stable)"
|
|
|
|
- "lite-cpu (macOS-11, 3.7, latest, stable)"
|
|
|
|
- "lite-cpu (macOS-11, 3.7, oldest, stable)"
|
|
|
|
- "lite-cpu (ubuntu-20.04, 3.10, latest, stable)"
|
|
|
|
- "lite-cpu (ubuntu-20.04, 3.7, latest, stable)"
|
|
|
|
- "lite-cpu (ubuntu-20.04, 3.7, oldest, stable)"
|
|
|
|
- "lite-cpu (windows-2022, 3.10, latest, stable)"
|
|
|
|
- "lite-cpu (windows-2022, 3.7, latest, stable)"
|
|
|
|
- "lite-cpu (windows-2022, 3.7, oldest, stable)"
|
2022-08-11 16:55:01 +00:00
|
|
|
- "mypy"
|
2022-09-08 14:12:58 +00:00
|
|
|
# TODO: lite should also require (some?) pl checks. this also requires that the path filters are modified
|
|
|
|
|
|
|
|
- id: "lightning_lite: Azure GPU"
|
|
|
|
paths:
|
|
|
|
- ".azure/gpu-tests-lite.yml"
|
|
|
|
- "tests/tests_lite/run_standalone_*.sh"
|
|
|
|
checks:
|
|
|
|
- "lightning-lite (GPUs)"
|
|
|
|
|
|
|
|
# SECTION: lightning_app
|
2022-08-11 16:55:01 +00:00
|
|
|
|
|
|
|
- id: "lightning_app"
|
|
|
|
paths:
|
|
|
|
- "requirements/app/**"
|
|
|
|
- "src/lightning_app/**"
|
|
|
|
- "tests/tests_app/**"
|
|
|
|
- "tests/tests_app_examples/**"
|
|
|
|
# the examples are used in the app CI
|
|
|
|
- "examples/app_*"
|
|
|
|
checks:
|
2022-08-23 15:50:30 +00:00
|
|
|
- "App.cloud-e2e"
|
2022-08-29 18:03:37 +00:00
|
|
|
- "make-doctest (app)"
|
|
|
|
- "make-html (app)"
|
|
|
|
- "app-examples (macOS-11, 3.8, latest)"
|
|
|
|
- "app-examples (macOS-11, 3.8, oldest)"
|
|
|
|
- "app-examples (ubuntu-20.04, 3.8, latest)"
|
|
|
|
- "app-examples (ubuntu-20.04, 3.8, oldest)"
|
|
|
|
- "app-examples (windows-2022, 3.8, latest)"
|
|
|
|
- "app-examples (windows-2022, 3.8, oldest)"
|
|
|
|
- "app-pytest (macOS-11, 3.8, latest)"
|
|
|
|
- "app-pytest (macOS-11, 3.8, oldest)"
|
|
|
|
- "app-pytest (ubuntu-20.04, 3.8, latest)"
|
|
|
|
- "app-pytest (ubuntu-20.04, 3.8, oldest)"
|
|
|
|
- "app-pytest (windows-2022, 3.8, latest)"
|
|
|
|
- "app-pytest (windows-2022, 3.8, oldest)"
|
2022-08-11 16:55:01 +00:00
|
|
|
|
2022-08-23 23:07:05 +00:00
|
|
|
- id: "lightning_app: Azure"
|
|
|
|
paths:
|
|
|
|
- ".azure/app-cloud-e2e.yml"
|
|
|
|
checks:
|
|
|
|
- "App.cloud-e2e"
|
|
|
|
|
2022-08-11 16:55:01 +00:00
|
|
|
- id: "lightning_app: Docs"
|
|
|
|
paths:
|
|
|
|
- "docs/source-app/**"
|
|
|
|
- ".github/workflows/docs-*.yml"
|
2022-08-16 13:28:30 +00:00
|
|
|
- "requirements/docs.txt"
|
2022-08-11 16:55:01 +00:00
|
|
|
- "requirements/app/**"
|
|
|
|
checks:
|
2022-08-29 18:03:37 +00:00
|
|
|
- "make-doctest (app)"
|
|
|
|
- "make-html (app)"
|
2022-08-11 16:55:01 +00:00
|
|
|
|
2022-09-08 14:12:58 +00:00
|
|
|
# SECTION: common
|
|
|
|
|
|
|
|
- id: "mypy"
|
|
|
|
paths:
|
|
|
|
- ".github/workflows/code-checks.yml"
|
|
|
|
- "pyproject.toml" # includes mypy config
|
|
|
|
checks:
|
|
|
|
- "mypy"
|
|
|
|
|
2022-08-11 16:55:01 +00:00
|
|
|
- id: "install"
|
|
|
|
paths:
|
|
|
|
- ".actions/setup_tools.py"
|
|
|
|
- ".github/workflows/ci-pkg-install.yml"
|
|
|
|
- "setup.py"
|
|
|
|
- "src/lightning/**"
|
|
|
|
# all __about__, __version__, __setup__
|
|
|
|
- "src/*/__*.py"
|
|
|
|
checks:
|
|
|
|
- "install-meta-pypi (macOS-11, 3.8)"
|
|
|
|
- "install-meta-pypi (ubuntu-20.04, 3.8)"
|
|
|
|
- "install-meta-pypi (windows-2022, 3.8)"
|
|
|
|
- "install-meta-src (macOS-11, 3.8)"
|
|
|
|
- "install-meta-src (macOS-11, lightning, 3.8)"
|
|
|
|
- "install-meta-src (ubuntu-20.04, 3.8)"
|
|
|
|
- "install-meta-src (ubuntu-20.04, lightning, 3.8)"
|
|
|
|
- "install-meta-src (windows-2022, 3.8)"
|
|
|
|
- "install-meta-src (windows-2022, lightning, 3.8)"
|
|
|
|
- "install-standalone (macOS-11, app, 3.8)"
|
|
|
|
- "install-standalone (macOS-11, pytorch, 3.8)"
|
|
|
|
- "install-standalone (ubuntu-20.04, app, 3.8)"
|
|
|
|
- "install-standalone (ubuntu-20.04, pytorch, 3.8)"
|
|
|
|
- "install-standalone (windows-2022, app, 3.8)"
|
|
|
|
- "install-standalone (windows-2022, pytorch, 3.8)"
|