2022-08-11 16:55:01 +00:00
|
|
|
custom_service_name: "Lightning CI required checker"
|
|
|
|
subprojects:
|
2022-09-08 14:12:58 +00:00
|
|
|
# SECTION: pytorch_lightning
|
|
|
|
|
2022-11-11 16:38:09 +00:00
|
|
|
- id: "pytorch_lightning: Tests workflow"
|
2022-08-11 16:55:01 +00:00
|
|
|
paths:
|
2023-06-15 15:25:59 +00:00
|
|
|
- ".actions/*"
|
2022-12-19 17:18:38 +00:00
|
|
|
- ".github/workflows/ci-tests-pytorch.yml"
|
2023-01-04 15:57:18 +00:00
|
|
|
- "requirements/fabric/**"
|
2023-02-01 17:18:32 +00:00
|
|
|
- "src/lightning/fabric/**"
|
|
|
|
- "src/lightning_fabric/*"
|
2022-08-11 16:55:01 +00:00
|
|
|
- "requirements/pytorch/**"
|
2023-02-01 18:22:42 +00:00
|
|
|
- "src/lightning/pytorch/**"
|
|
|
|
- "src/pytorch_lightning/*"
|
2022-08-11 16:55:01 +00:00
|
|
|
- "tests/tests_pytorch/**"
|
2023-01-25 12:14:42 +00:00
|
|
|
- "tests/legacy/**"
|
2023-09-25 12:34:41 +00:00
|
|
|
- "pyproject.toml" # includes pytest config
|
2022-11-26 01:16:48 +00:00
|
|
|
- "!requirements/*/docs.txt"
|
2022-11-16 10:07:02 +00:00
|
|
|
- "!*.md"
|
|
|
|
- "!**/*.md"
|
2022-08-11 16:55:01 +00:00
|
|
|
checks:
|
2024-06-30 22:02:00 +00:00
|
|
|
- "pl-cpu (macOS-13, lightning, 3.8, 2.1, oldest)"
|
2024-06-30 20:19:38 +00:00
|
|
|
- "pl-cpu (macOS-14, lightning, 3.10, 2.1)"
|
|
|
|
- "pl-cpu (macOS-14, lightning, 3.10, 2.2)"
|
2024-04-29 11:16:13 +00:00
|
|
|
- "pl-cpu (macOS-14, lightning, 3.10, 2.3)"
|
2024-06-30 22:02:00 +00:00
|
|
|
- "pl-cpu (ubuntu-20.04, lightning, 3.8, 2.1, oldest)"
|
2023-10-06 11:17:03 +00:00
|
|
|
- "pl-cpu (ubuntu-20.04, lightning, 3.10, 2.1)"
|
2024-02-13 05:45:15 +00:00
|
|
|
- "pl-cpu (ubuntu-20.04, lightning, 3.10, 2.2)"
|
2024-04-29 11:16:13 +00:00
|
|
|
- "pl-cpu (ubuntu-20.04, lightning, 3.10, 2.3)"
|
2024-06-30 22:02:00 +00:00
|
|
|
- "pl-cpu (windows-2022, lightning, 3.8, 2.1, oldest)"
|
2023-10-06 11:17:03 +00:00
|
|
|
- "pl-cpu (windows-2022, lightning, 3.10, 2.1)"
|
2024-02-13 05:45:15 +00:00
|
|
|
- "pl-cpu (windows-2022, lightning, 3.10, 2.2)"
|
2024-04-29 11:16:13 +00:00
|
|
|
- "pl-cpu (windows-2022, lightning, 3.10, 2.3)"
|
2024-06-30 22:02:00 +00:00
|
|
|
- "pl-cpu (macOS-14, pytorch, 3.8, 2.1)"
|
|
|
|
- "pl-cpu (ubuntu-20.04, pytorch, 3.8, 2.1)"
|
|
|
|
- "pl-cpu (windows-2022, pytorch, 3.8, 2.1)"
|
2023-10-06 11:17:03 +00:00
|
|
|
- "pl-cpu (macOS-12, pytorch, 3.11, 2.1)"
|
|
|
|
- "pl-cpu (ubuntu-22.04, pytorch, 3.11, 2.1)"
|
|
|
|
- "pl-cpu (windows-2022, pytorch, 3.11, 2.1)"
|
2022-09-08 14:12:58 +00:00
|
|
|
|
2022-08-23 23:07:05 +00:00
|
|
|
- id: "pytorch_lightning: Azure GPU"
|
|
|
|
paths:
|
2023-06-15 15:25:59 +00:00
|
|
|
- ".actions/*"
|
2022-10-12 13:18:12 +00:00
|
|
|
- ".azure/gpu-tests-pytorch.yml"
|
2022-11-11 16:38:09 +00:00
|
|
|
# only the azure GPU workflow runs the examples
|
|
|
|
# all examples don't need to be added because they aren't used in CI, but these are
|
|
|
|
- "examples/run_pl_examples.sh"
|
2023-03-07 16:24:46 +00:00
|
|
|
- "examples/pytorch/basics/backbone_image_classifier.py"
|
|
|
|
- "examples/pytorch/basics/autoencoder.py"
|
2022-11-11 16:38:09 +00:00
|
|
|
- "requirements/pytorch/**"
|
2023-03-06 17:19:50 +00:00
|
|
|
- "src/lightning/__init__.py"
|
|
|
|
- "src/lightning/__setup__.py"
|
|
|
|
- "src/lightning/__version__.py"
|
2023-02-01 18:22:42 +00:00
|
|
|
- "src/lightning/pytorch/**"
|
|
|
|
- "src/pytorch_lightning/*"
|
2022-11-11 16:38:09 +00:00
|
|
|
- "tests/tests_pytorch/**"
|
2024-06-05 16:32:56 +00:00
|
|
|
- "tests/run_standalone_*.sh"
|
2023-09-25 12:34:41 +00:00
|
|
|
- "pyproject.toml" # includes pytest config
|
2023-01-04 15:57:18 +00:00
|
|
|
- "requirements/fabric/**"
|
2023-02-01 17:18:32 +00:00
|
|
|
- "src/lightning/fabric/**"
|
|
|
|
- "src/lightning_fabric/*"
|
2022-11-26 01:16:48 +00:00
|
|
|
- "!requirements/docs.txt"
|
|
|
|
- "!requirements/*/docs.txt"
|
2022-11-16 10:07:02 +00:00
|
|
|
- "!*.md"
|
|
|
|
- "!**/*.md"
|
2022-08-23 23:07:05 +00:00
|
|
|
checks:
|
2023-08-07 09:26:13 +00:00
|
|
|
- "pytorch-lightning (GPUs) (testing Lightning | latest)"
|
|
|
|
- "pytorch-lightning (GPUs) (testing PyTorch | latest)"
|
2022-08-23 23:07:05 +00:00
|
|
|
|
2022-11-11 16:38:09 +00:00
|
|
|
- id: "pytorch_lightning: Benchmarks"
|
|
|
|
paths:
|
2023-05-25 16:20:43 +00:00
|
|
|
- ".azure/gpu-benchmarks.yml"
|
2023-05-30 00:23:36 +00:00
|
|
|
- "requirements/fabric/**"
|
2022-11-11 16:38:09 +00:00
|
|
|
- "requirements/pytorch/**"
|
2023-05-30 00:23:36 +00:00
|
|
|
- "src/lightning/fabric/**"
|
|
|
|
- "src/lightning/pytorch/**"
|
|
|
|
- "tests/parity_fabric/**"
|
|
|
|
- "tests/parity_pytorch/**"
|
|
|
|
- "!requirements/fabric/docs.txt"
|
2022-11-16 10:07:02 +00:00
|
|
|
- "!requirements/pytorch/docs.txt"
|
|
|
|
- "!*.md"
|
|
|
|
- "!**/*.md"
|
2022-11-11 16:38:09 +00:00
|
|
|
checks:
|
2023-05-25 16:20:43 +00:00
|
|
|
- "lightning.Benchmarks"
|
2022-11-11 16:38:09 +00:00
|
|
|
|
2023-04-18 16:52:36 +00:00
|
|
|
- id: "pytorch-lightning: TPU workflow"
|
|
|
|
paths:
|
2023-03-30 13:24:20 +00:00
|
|
|
# tpu CI availability is very limited, so we only require tpu tests
|
|
|
|
# to pass when their configurations are modified
|
2023-04-18 16:52:36 +00:00
|
|
|
- ".github/workflows/tpu-tests.yml"
|
|
|
|
- "tests/tests_pytorch/run_tpu_tests.sh"
|
|
|
|
checks:
|
2023-09-22 20:03:16 +00:00
|
|
|
- "test-on-tpus (pytorch, pjrt, v4-8)"
|
2023-03-30 13:24:20 +00:00
|
|
|
|
2023-03-01 11:36:14 +00:00
|
|
|
- id: "fabric: Docs"
|
|
|
|
paths:
|
|
|
|
- "src/lightning/fabric/**"
|
|
|
|
- "src/lightning_fabric/*"
|
|
|
|
- "docs/source-fabric/**"
|
2023-03-05 10:41:00 +00:00
|
|
|
- ".github/workflows/docs-build.yml"
|
2023-03-01 11:36:14 +00:00
|
|
|
- "requirements/docs.txt"
|
|
|
|
- "requirements/fabric/**"
|
|
|
|
- "setup.py"
|
2023-09-25 12:34:41 +00:00
|
|
|
- "pyproject.toml" # includes metadata used in the package creation
|
2023-03-01 11:36:14 +00:00
|
|
|
- "!*.md"
|
|
|
|
- "!**/*.md"
|
|
|
|
checks:
|
2023-08-29 12:17:59 +00:00
|
|
|
- "docs-make (fabric, doctest)"
|
|
|
|
- "docs-make (fabric, html)"
|
2023-03-01 11:36:14 +00:00
|
|
|
|
2022-08-11 16:55:01 +00:00
|
|
|
- id: "pytorch_lightning: Docs"
|
|
|
|
paths:
|
2023-02-01 18:22:42 +00:00
|
|
|
- "src/lightning/pytorch/**"
|
|
|
|
- "src/pytorch_lightning/*"
|
2022-08-11 16:55:01 +00:00
|
|
|
- "docs/source-pytorch/**"
|
2023-10-13 15:50:01 +00:00
|
|
|
- "_notebooks"
|
2023-06-15 15:25:59 +00:00
|
|
|
- ".actions/*"
|
2023-03-05 10:41:00 +00:00
|
|
|
- ".github/workflows/docs-build.yml"
|
2022-08-16 13:28:30 +00:00
|
|
|
- "requirements/docs.txt"
|
2022-08-11 16:55:01 +00:00
|
|
|
- "requirements/pytorch/**"
|
2022-11-11 16:38:09 +00:00
|
|
|
- "setup.py"
|
2023-09-25 12:34:41 +00:00
|
|
|
- "pyproject.toml" # includes metadata used in the package creation
|
2022-11-16 10:07:02 +00:00
|
|
|
- "!*.md"
|
|
|
|
- "!**/*.md"
|
2022-08-11 16:55:01 +00:00
|
|
|
checks:
|
2023-08-29 12:17:59 +00:00
|
|
|
- "docs-make (pytorch, doctest)"
|
|
|
|
- "docs-make (pytorch, html)"
|
2022-08-11 16:55:01 +00:00
|
|
|
|
|
|
|
- id: "pytorch_lightning: Docker"
|
|
|
|
paths:
|
2023-06-15 15:25:59 +00:00
|
|
|
- ".actions/*"
|
2023-08-30 17:11:35 +00:00
|
|
|
- ".github/workflows/docker-build.yml"
|
2022-11-26 01:16:48 +00:00
|
|
|
- "dockers/**"
|
2022-11-11 16:38:09 +00:00
|
|
|
- "requirements/pytorch/**"
|
2023-01-04 15:57:18 +00:00
|
|
|
- "requirements/fabric/**"
|
2022-08-17 15:39:27 +00:00
|
|
|
- "setup.py"
|
2022-11-26 01:16:48 +00:00
|
|
|
- "!requirements/*/docs.txt"
|
2022-11-16 10:07:02 +00:00
|
|
|
- "!*.md"
|
|
|
|
- "!**/*.md"
|
2022-08-11 16:55:01 +00:00
|
|
|
checks:
|
2023-10-06 12:12:37 +00:00
|
|
|
- "build-cuda (3.10, 2.1, 12.1.0)"
|
2024-04-27 05:24:07 +00:00
|
|
|
- "build-cuda (3.10, 2.2, 12.1.0)"
|
|
|
|
- "build-cuda (3.11, 2.1, 12.1.0)"
|
|
|
|
- "build-cuda (3.11, 2.2, 12.1.0)"
|
2024-07-11 10:52:56 +00:00
|
|
|
- "build-cuda (3.11, 2.3, 12.1.0)"
|
|
|
|
- "build-cuda (3.11, 2.4, 12.1.0)"
|
2023-06-05 10:06:01 +00:00
|
|
|
#- "build-NGC"
|
2023-10-06 12:12:37 +00:00
|
|
|
- "build-pl (3.10, 2.1, 12.1.0)"
|
2024-04-27 05:24:07 +00:00
|
|
|
- "build-pl (3.10, 2.2, 12.1.0)"
|
|
|
|
- "build-pl (3.11, 2.1, 12.1.0)"
|
|
|
|
- "build-pl (3.11, 2.2, 12.1.0)"
|
2024-07-11 10:52:56 +00:00
|
|
|
- "build-pl (3.11, 2.3, 12.1.0)"
|
|
|
|
- "build-pl (3.11, 2.4, 12.1.0)"
|
2022-08-11 16:55:01 +00:00
|
|
|
|
2023-01-04 15:57:18 +00:00
|
|
|
# SECTION: lightning_fabric
|
2022-09-08 14:12:58 +00:00
|
|
|
|
2023-01-04 15:57:18 +00:00
|
|
|
- id: "lightning_fabric: CPU workflow"
|
2022-08-11 16:55:01 +00:00
|
|
|
paths:
|
2023-06-15 15:25:59 +00:00
|
|
|
- ".actions/*"
|
2023-01-04 15:57:18 +00:00
|
|
|
- "requirements/fabric/**"
|
2023-02-01 17:18:32 +00:00
|
|
|
- "src/lightning/fabric/**"
|
|
|
|
- "src/lightning_fabric/*"
|
2023-01-04 15:57:18 +00:00
|
|
|
- "tests/tests_fabric/**"
|
2023-09-25 12:34:41 +00:00
|
|
|
- "pyproject.toml" # includes pytest config
|
2023-01-04 15:57:18 +00:00
|
|
|
- ".github/workflows/ci-tests-fabric.yml"
|
2022-11-26 01:16:48 +00:00
|
|
|
- "!requirements/*/docs.txt"
|
2022-11-16 10:07:02 +00:00
|
|
|
- "!*.md"
|
|
|
|
- "!**/*.md"
|
2022-08-11 16:55:01 +00:00
|
|
|
checks:
|
2024-06-30 22:02:00 +00:00
|
|
|
- "fabric-cpu (macOS-13, lightning, 3.8, 2.1, oldest)"
|
2024-06-30 20:19:38 +00:00
|
|
|
- "fabric-cpu (macOS-14, lightning, 3.11, 2.1)"
|
|
|
|
- "fabric-cpu (macOS-14, lightning, 3.11, 2.2)"
|
2024-04-29 11:16:13 +00:00
|
|
|
- "fabric-cpu (macOS-14, lightning, 3.10, 2.3)"
|
2024-06-30 22:02:00 +00:00
|
|
|
- "fabric-cpu (ubuntu-20.04, lightning, 3.8, 2.1, oldest)"
|
2023-10-06 11:17:03 +00:00
|
|
|
- "fabric-cpu (ubuntu-20.04, lightning, 3.11, 2.1)"
|
2024-02-13 05:45:15 +00:00
|
|
|
- "fabric-cpu (ubuntu-20.04, lightning, 3.11, 2.2)"
|
2024-04-29 11:16:13 +00:00
|
|
|
- "fabric-cpu (ubuntu-20.04, lightning, 3.11, 2.3)"
|
2024-06-30 22:02:00 +00:00
|
|
|
- "fabric-cpu (windows-2022, lightning, 3.8, 2.1, oldest)"
|
2023-10-06 11:17:03 +00:00
|
|
|
- "fabric-cpu (windows-2022, lightning, 3.11, 2.1)"
|
2024-02-13 05:45:15 +00:00
|
|
|
- "fabric-cpu (windows-2022, lightning, 3.11, 2.2)"
|
2024-04-29 11:16:13 +00:00
|
|
|
- "fabric-cpu (windows-2022, lightning, 3.11, 2.3)"
|
2024-06-30 22:02:00 +00:00
|
|
|
- "fabric-cpu (macOS-14, fabric, 3.8, 2.1)"
|
|
|
|
- "fabric-cpu (ubuntu-20.04, fabric, 3.8, 2.1)"
|
|
|
|
- "fabric-cpu (windows-2022, fabric, 3.8, 2.1)"
|
2023-10-06 11:17:03 +00:00
|
|
|
- "fabric-cpu (macOS-12, fabric, 3.11, 2.1)"
|
|
|
|
- "fabric-cpu (ubuntu-22.04, fabric, 3.11, 2.1)"
|
|
|
|
- "fabric-cpu (windows-2022, fabric, 3.11, 2.1)"
|
2022-10-21 07:08:46 +00:00
|
|
|
|
2023-01-04 15:57:18 +00:00
|
|
|
- id: "lightning_fabric: Azure GPU"
|
2022-09-08 14:12:58 +00:00
|
|
|
paths:
|
2023-06-15 15:25:59 +00:00
|
|
|
- ".actions/*"
|
2023-01-04 15:57:18 +00:00
|
|
|
- ".azure/gpu-tests-fabric.yml"
|
|
|
|
- "examples/fabric/**"
|
|
|
|
- "examples/run_fabric_examples.sh"
|
|
|
|
- "requirements/fabric/**"
|
2023-03-06 17:19:50 +00:00
|
|
|
- "src/lightning/__init__.py"
|
|
|
|
- "src/lightning/__setup__.py"
|
|
|
|
- "src/lightning/__version__.py"
|
2023-02-01 17:18:32 +00:00
|
|
|
- "src/lightning/fabric/**"
|
|
|
|
- "src/lightning_fabric/*"
|
2023-01-04 15:57:18 +00:00
|
|
|
- "tests/tests_fabric/**"
|
2024-06-05 16:32:56 +00:00
|
|
|
- "tests/run_standalone_*.sh"
|
2023-09-25 12:34:41 +00:00
|
|
|
- "pyproject.toml" # includes pytest config
|
2022-11-26 01:16:48 +00:00
|
|
|
- "!requirements/*/docs.txt"
|
2022-11-16 10:07:02 +00:00
|
|
|
- "!*.md"
|
|
|
|
- "!**/*.md"
|
2022-09-08 14:12:58 +00:00
|
|
|
checks:
|
2023-08-07 09:26:13 +00:00
|
|
|
- "lightning-fabric (GPUs) (testing Fabric | latest)"
|
|
|
|
- "lightning-fabric (GPUs) (testing Lightning | latest)"
|
2022-09-08 14:12:58 +00:00
|
|
|
|
2023-04-14 12:47:31 +00:00
|
|
|
- id: "lightning_fabric: TPU workflow"
|
|
|
|
paths:
|
|
|
|
# tpu CI availability is very limited, so we only require tpu tests
|
|
|
|
# to pass when their configurations are modified
|
|
|
|
- ".github/workflows/tpu-tests.yml"
|
|
|
|
- "tests/tests_fabric/run_tpu_tests.sh"
|
|
|
|
checks:
|
2023-09-25 10:21:08 +00:00
|
|
|
- "test-on-tpus (pytorch, pjrt, v4-8)"
|
2023-04-14 12:47:31 +00:00
|
|
|
|
2022-09-08 14:12:58 +00:00
|
|
|
# SECTION: common
|
|
|
|
|
|
|
|
- id: "mypy"
|
|
|
|
paths:
|
2023-06-15 15:25:59 +00:00
|
|
|
- ".actions/*"
|
2022-09-08 14:12:58 +00:00
|
|
|
- ".github/workflows/code-checks.yml"
|
2022-11-03 07:29:20 +00:00
|
|
|
- "requirements/**"
|
|
|
|
- "src/**"
|
2023-09-25 12:34:41 +00:00
|
|
|
- "pyproject.toml" # includes mypy config
|
2022-11-26 01:16:48 +00:00
|
|
|
- "!requirements/docs.txt"
|
|
|
|
- "!requirements/*/docs.txt"
|
2022-11-16 10:07:02 +00:00
|
|
|
- "!*.md"
|
|
|
|
- "!**/*.md"
|
2022-09-08 14:12:58 +00:00
|
|
|
checks:
|
|
|
|
- "mypy"
|
|
|
|
|
2022-08-11 16:55:01 +00:00
|
|
|
- id: "install"
|
|
|
|
paths:
|
2023-06-15 15:25:59 +00:00
|
|
|
- ".actions/*"
|
2022-12-13 05:55:39 +00:00
|
|
|
- ".github/actions/pkg-check/*"
|
|
|
|
- ".github/actions/pkg-install/*"
|
|
|
|
- ".github/workflows/_build-packages.yml"
|
2022-08-11 16:55:01 +00:00
|
|
|
- ".github/workflows/ci-pkg-install.yml"
|
|
|
|
- "setup.py"
|
2022-10-25 16:34:04 +00:00
|
|
|
- "src/**"
|
|
|
|
- "requirements/**"
|
2022-11-26 01:16:48 +00:00
|
|
|
- "!requirements/docs.txt"
|
|
|
|
- "!requirements/*/docs.txt"
|
2022-11-16 10:07:02 +00:00
|
|
|
- "!*.md"
|
|
|
|
- "!**/*.md"
|
2022-08-11 16:55:01 +00:00
|
|
|
checks:
|
2023-02-01 01:36:42 +00:00
|
|
|
- "install-pkg (ubuntu-22.04, fabric, 3.8)"
|
2023-08-28 15:15:12 +00:00
|
|
|
- "install-pkg (ubuntu-22.04, fabric, 3.11)"
|
2023-02-01 01:36:42 +00:00
|
|
|
- "install-pkg (ubuntu-22.04, pytorch, 3.8)"
|
2023-08-28 15:15:12 +00:00
|
|
|
- "install-pkg (ubuntu-22.04, pytorch, 3.11)"
|
2023-02-01 01:36:42 +00:00
|
|
|
- "install-pkg (ubuntu-22.04, lightning, 3.8)"
|
2023-08-28 15:15:12 +00:00
|
|
|
- "install-pkg (ubuntu-22.04, lightning, 3.11)"
|
2023-02-01 01:36:42 +00:00
|
|
|
- "install-pkg (ubuntu-22.04, notset, 3.8)"
|
2023-08-28 15:15:12 +00:00
|
|
|
- "install-pkg (ubuntu-22.04, notset, 3.11)"
|
2023-02-01 01:36:42 +00:00
|
|
|
- "install-pkg (macOS-12, fabric, 3.8)"
|
2023-08-28 15:15:12 +00:00
|
|
|
- "install-pkg (macOS-12, fabric, 3.11)"
|
2023-02-01 01:36:42 +00:00
|
|
|
- "install-pkg (macOS-12, pytorch, 3.8)"
|
2023-08-28 15:15:12 +00:00
|
|
|
- "install-pkg (macOS-12, pytorch, 3.11)"
|
2023-02-01 01:36:42 +00:00
|
|
|
- "install-pkg (macOS-12, lightning, 3.8)"
|
2023-08-28 15:15:12 +00:00
|
|
|
- "install-pkg (macOS-12, lightning, 3.11)"
|
2023-02-01 01:36:42 +00:00
|
|
|
- "install-pkg (macOS-12, notset, 3.8)"
|
2023-08-28 15:15:12 +00:00
|
|
|
- "install-pkg (macOS-12, notset, 3.11)"
|
2023-02-01 01:36:42 +00:00
|
|
|
- "install-pkg (windows-2022, fabric, 3.8)"
|
2023-08-28 15:15:12 +00:00
|
|
|
- "install-pkg (windows-2022, fabric, 3.11)"
|
2023-02-01 01:36:42 +00:00
|
|
|
- "install-pkg (windows-2022, pytorch, 3.8)"
|
2023-08-28 15:15:12 +00:00
|
|
|
- "install-pkg (windows-2022, pytorch, 3.11)"
|
2023-02-01 01:36:42 +00:00
|
|
|
- "install-pkg (windows-2022, lightning, 3.8)"
|
2023-08-28 15:15:12 +00:00
|
|
|
- "install-pkg (windows-2022, lightning, 3.11)"
|
2023-02-01 01:36:42 +00:00
|
|
|
- "install-pkg (windows-2022, notset, 3.8)"
|
2023-08-28 15:15:12 +00:00
|
|
|
- "install-pkg (windows-2022, notset, 3.11)"
|