-
Notifications
You must be signed in to change notification settings - Fork 3.5k
/
Copy pathcheckgroup.yml
216 lines (202 loc) · 6.46 KB
/
checkgroup.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
custom_service_name: "Lightning CI required checker"
subprojects:
# SECTION: pytorch_lightning
- id: "pytorch_lightning: Tests workflow"
paths:
- ".actions/*"
- ".github/workflows/ci-tests-pytorch.yml"
- "requirements/fabric/**"
- "src/lightning/fabric/**"
- "src/lightning_fabric/*"
- "requirements/pytorch/**"
- "src/lightning/pytorch/**"
- "src/pytorch_lightning/*"
- "tests/tests_pytorch/**"
- "tests/legacy/**"
- "pyproject.toml" # includes pytest config
- "!requirements/*/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "pl-cpu-guardian" # aggregated check for all cases
- id: "pytorch_lightning: Azure GPU"
paths:
- ".actions/*"
- ".azure/gpu-tests-pytorch.yml"
# 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"
- "examples/pytorch/basics/backbone_image_classifier.py"
- "examples/pytorch/basics/autoencoder.py"
- "requirements/pytorch/**"
- "src/lightning/__init__.py"
- "src/lightning/__setup__.py"
- "src/lightning/__version__.py"
- "src/lightning/pytorch/**"
- "src/pytorch_lightning/*"
- "tests/tests_pytorch/**"
- "tests/run_standalone_*.sh"
- "pyproject.toml" # includes pytest config
- "requirements/fabric/**"
- "src/lightning/fabric/**"
- "src/lightning_fabric/*"
- "!requirements/docs.txt"
- "!requirements/*/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "pytorch-lightning (GPUs) (testing Lightning | latest)"
- "pytorch-lightning (GPUs) (testing PyTorch | latest)"
- id: "pytorch_lightning: Benchmarks"
paths:
- ".azure/gpu-benchmarks.yml"
- "requirements/fabric/**"
- "requirements/pytorch/**"
- "src/lightning/fabric/**"
- "src/lightning/pytorch/**"
- "tests/parity_fabric/**"
- "tests/parity_pytorch/**"
- "!requirements/fabric/docs.txt"
- "!requirements/pytorch/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "lightning.Benchmarks"
# Temporarily disabled
# - id: "pytorch-lightning: 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_pytorch/run_tpu_tests.sh"
# checks:
# - "test-on-tpus (pytorch, pjrt, v4-8)"
- id: "fabric: Docs"
paths:
- "src/lightning/fabric/**"
- "src/lightning_fabric/*"
- "docs/source-fabric/**"
- ".github/workflows/docs-build.yml"
- "requirements/docs.txt"
- "requirements/fabric/**"
- "setup.py"
- "pyproject.toml" # includes metadata used in the package creation
- "!*.md"
- "!**/*.md"
checks:
- "docs-make (fabric, doctest)"
- "docs-make (fabric, html)"
- id: "pytorch_lightning: Docs"
paths:
- "src/lightning/pytorch/**"
- "src/pytorch_lightning/*"
- "docs/source-pytorch/**"
- "_notebooks"
- ".actions/*"
- ".github/workflows/docs-build.yml"
- "requirements/docs.txt"
- "requirements/pytorch/**"
- "setup.py"
- "pyproject.toml" # includes metadata used in the package creation
- "!*.md"
- "!**/*.md"
checks:
- "docs-make (pytorch, doctest)"
- "docs-make (pytorch, html)"
- id: "pytorch_lightning: Docker"
paths:
- ".actions/*"
- ".github/workflows/docker-build.yml"
- "dockers/**"
- "requirements/pytorch/**"
- "requirements/fabric/**"
- "setup.py"
- "!requirements/*/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "build-cuda (3.10, 2.1.2, 12.1.1)"
- "build-cuda (3.11, 2.2.2, 12.1.1)"
- "build-cuda (3.11, 2.3.1, 12.1.1)"
- "build-cuda (3.11, 2.4.1, 12.1.1)"
- "build-cuda (3.12, 2.5.1, 12.1.1)"
#- "build-NGC"
- "build-pl (3.10, 2.1, 12.1.1)"
- "build-pl (3.11, 2.2, 12.1.1)"
- "build-pl (3.11, 2.3, 12.1.1)"
- "build-pl (3.11, 2.4, 12.1.1)"
- "build-pl (3.12, 2.5, 12.1.1, true)"
# SECTION: lightning_fabric
- id: "lightning_fabric: CPU workflow"
paths:
- ".actions/*"
- "requirements/fabric/**"
- "src/lightning/fabric/**"
- "src/lightning_fabric/*"
- "tests/tests_fabric/**"
- "pyproject.toml" # includes pytest config
- ".github/workflows/ci-tests-fabric.yml"
- "!requirements/*/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "fabric-cpu-guardian" # aggregated check for all cases
- id: "lightning_fabric: Azure GPU"
paths:
- ".actions/*"
- ".azure/gpu-tests-fabric.yml"
- "examples/fabric/**"
- "examples/run_fabric_examples.sh"
- "requirements/fabric/**"
- "src/lightning/__init__.py"
- "src/lightning/__setup__.py"
- "src/lightning/__version__.py"
- "src/lightning/fabric/**"
- "src/lightning_fabric/*"
- "tests/tests_fabric/**"
- "tests/run_standalone_*.sh"
- "pyproject.toml" # includes pytest config
- "!requirements/*/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "lightning-fabric (GPUs) (testing Fabric | latest)"
- "lightning-fabric (GPUs) (testing Lightning | latest)"
- 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:
- "test-on-tpus (pytorch, pjrt, v4-8)"
# SECTION: common
- id: "mypy"
paths:
- ".actions/*"
- ".github/workflows/code-checks.yml"
- "requirements/**"
- "src/**"
- "pyproject.toml" # includes mypy config
- "!requirements/docs.txt"
- "!requirements/*/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "mypy"
- id: "install"
paths:
- ".actions/*"
- ".github/actions/pkg-check/*"
- ".github/actions/pkg-install/*"
- ".github/workflows/_build-packages.yml"
- ".github/workflows/ci-pkg-install.yml"
- "setup.py"
- "src/**"
- "requirements/**"
- "!requirements/docs.txt"
- "!requirements/*/docs.txt"
- "!*.md"
- "!**/*.md"
checks:
- "install-pkg-guardian" # aggregated check for all cases