@@ -6,15 +6,11 @@ subprojects:
66
77 # SECTION: pytorch_lightning
88
9- - id : " pytorch_lightning"
9+ - id : " pytorch_lightning: Tests workflow "
1010 paths :
11- # all examples don't need to be added because they aren't used in CI, but these are
12- - " examples/run_pl_examples.sh"
13- - " examples/pl_basics/backbone_image_classifier.py"
14- - " examples/pl_basics/autoencoder.py"
15- - " examples/pl_fault_tolerant/automatic.py"
16- - " examples/test_pl_examples.py"
17- - " examples/pl_integrations/dali_image_classifier.py"
11+ - " .github/workflows/ci-pytorch-tests.yml"
12+ - " requirements/lite/**"
13+ - " src/lightning_lite/**"
1814 - " requirements/pytorch/**"
1915 - " src/pytorch_lightning/**"
2016 - " tests/tests_pytorch/**"
@@ -39,76 +35,92 @@ subprojects:
3935 - " pl-cpu (macOS-11, lightning, 3.10, 1.12)"
4036 - " pl-cpu (ubuntu-20.04, lightning, 3.10, 1.12)"
4137 - " pl-cpu (windows-2022, lightning, 3.10, 1.12)"
42- - " pytorch-lightning (GPUs)"
43- - " pytorch-lightning (HPUs)"
44- - " pytorch-lightning (IPUs)"
45- - " pl-cpu (slow, macOS-11, pytorch, 3.7, 1.11)"
46- - " pl-cpu (slow, ubuntu-20.04, pytorch, 3.7, 1.11)"
47- - " pl-cpu (slow, windows-2022, pytorch, 3.7, 1.11)"
48- # TODO: since this job has intermittent availability, it cannot be required or it will block all PL PRs from forks
49- # - "test-on-tpus"
50-
51- - id : " pytorch_lightning: CPU workflow"
52- paths :
53- - " .github/workflows/ci-pytorch-tests.yml"
54- checks :
55- - " pl-cpu (macOS-11, pytorch, 3.8, 1.10)"
56- - " pl-cpu (macOS-11, pytorch, 3.9, 1.11)"
57- - " pl-cpu (macOS-11, pytorch, 3.10, 1.12)"
58- - " pl-cpu (macOS-11, pytorch, 3.10, 1.13, pre)"
59- - " pl-cpu (ubuntu-20.04, pytorch, 3.8, 1.10)"
60- - " pl-cpu (ubuntu-20.04, pytorch, 3.9, 1.11)"
61- - " pl-cpu (ubuntu-20.04, pytorch, 3.10, 1.11)"
62- - " pl-cpu (ubuntu-20.04, pytorch, 3.10, 1.12)"
63- - " pl-cpu (ubuntu-20.04, pytorch, 3.9, 1.13, pre)"
64- - " pl-cpu (windows-2022, pytorch, 3.9, 1.11)"
65- - " pl-cpu (windows-2022, pytorch, 3.10, 1.11)"
66- - " pl-cpu (windows-2022, pytorch, 3.10, 1.12)"
67- - " pl-cpu (windows-2022, pytorch, 3.8, 1.13, pre)"
68- - " pl-cpu (macOS-11, lightning, 3.10, 1.12)"
69- - " pl-cpu (ubuntu-20.04, lightning, 3.10, 1.12)"
70- - " pl-cpu (windows-2022, lightning, 3.10, 1.12)"
71-
72- - id : " pytorch_lightning: Slow workflow"
73- paths :
74- - " .github/workflows/ci-pytorch-tests-slow.yml"
75- checks :
7638 - " pl-cpu (slow, macOS-11, pytorch, 3.7, 1.11)"
7739 - " pl-cpu (slow, ubuntu-20.04, pytorch, 3.7, 1.11)"
7840 - " pl-cpu (slow, windows-2022, pytorch, 3.7, 1.11)"
7941
8042 - id : " pytorch_lightning: Azure GPU"
8143 paths :
8244 - " .azure/gpu-tests-pytorch.yml"
83- - " tests/tests_pytorch/run_standalone_*.sh"
45+ # only the azure GPU workflow runs the examples
46+ # all examples don't need to be added because they aren't used in CI, but these are
47+ - " examples/run_pl_examples.sh"
48+ - " examples/pl_basics/backbone_image_classifier.py"
49+ - " examples/pl_basics/autoencoder.py"
50+ - " examples/pl_fault_tolerant/automatic.py"
51+ - " examples/test_pl_examples.py"
52+ - " examples/pl_integrations/dali_image_classifier.py"
53+ - " requirements/pytorch/**"
54+ - " src/pytorch_lightning/**"
55+ - " tests/tests_pytorch/**"
56+ - " setup.cfg" # includes pytest config
57+ - " requirements/lite/**"
58+ - " src/lightning_lite/**"
59+ - " .actions/**"
8460 checks :
8561 - " pytorch-lightning (GPUs)"
8662
63+ - id : " pytorch_lightning: Benchmarks"
64+ paths :
65+ - " .azure/gpu-benchmark.yml"
66+ - " tests/tests_pytorch/benchmarks/**"
67+ - " requirements/pytorch/**"
68+ checks :
69+ - " pytorch-lightning.Benchmark"
70+
8771 - id : " pytorch_lightning: Azure HPU"
8872 paths :
8973 - " .azure/hpu-tests.yml"
74+ - " examples/pl_hpu/mnist_sample.py"
75+ - " requirements/lite/**"
76+ - " src/lightning_lite/**"
77+ - " requirements/pytorch/**"
78+ - " src/pytorch_lightning/**"
79+ - " tests/tests_pytorch/**"
80+ - " setup.cfg" # includes pytest config
81+ - " .actions/**"
9082 checks :
9183 - " pytorch-lightning (HPUs)"
9284
9385 - id : " pytorch_lightning: Azure IPU"
9486 paths :
9587 - " .azure/ipu-tests.yml"
88+ - " requirements/lite/**"
89+ - " src/lightning_lite/**"
90+ - " requirements/pytorch/**"
91+ - " src/pytorch_lightning/**"
92+ - " tests/tests_pytorch/**"
93+ - " setup.cfg" # includes pytest config
94+ - " .actions/**"
9695 checks :
9796 - " pytorch-lightning (IPUs)"
9897
99- - id : " pytorch-lightning: TPU workflow"
100- paths :
101- - " .github/workflows/tpu-tests.yml"
102- checks :
103- - " test-on-tpus"
98+ # TODO: since this job has intermittent availability, it cannot be required
99+ # - id: "pytorch-lightning: TPU workflow"
100+ # paths:
101+ # - ".github/workflows/tpu-tests.yml"
102+ # - "dockers/base-xla/*"
103+ # - "requirements/lite/**"
104+ # - "src/lightning_lite/**"
105+ # - "tests/tests_lite/**"
106+ # - "requirements/pytorch/**"
107+ # - "src/pytorch_lightning/**"
108+ # - "tests/tests_pytorch/**"
109+ # - "setup.cfg" # includes pytest config
110+ # - ".actions/**"
111+ # checks:
112+ # - "test-on-tpus"
104113
105114 - id : " pytorch_lightning: Docs"
106115 paths :
107116 - " src/pytorch_lightning/**"
108117 - " docs/source-pytorch/**"
109- - " .github/workflows/docs-* .yml"
118+ - " .github/workflows/docs-checks .yml"
110119 - " requirements/docs.txt"
111120 - " requirements/pytorch/**"
121+ - " setup.py"
122+ - " setup.cfg" # includes metadata used in the package creation
123+ - " .actions/**"
112124 checks :
113125 - " make-doctest (pytorch)"
114126 - " make-html (pytorch)"
@@ -117,11 +129,9 @@ subprojects:
117129 paths :
118130 - " dockers/**"
119131 - " .github/workflows/ci-pytorch-dockers.yml"
120- - " requirements.txt"
121- - " requirements/*.txt"
122- - " requirements/pytorch/*"
132+ - " requirements/pytorch/**"
133+ - " requirements/lite/**"
123134 - " environment.yml"
124- - " .github/workflows/*docker*.yml"
125135 - " setup.py"
126136 - " .actions/**"
127137 checks :
@@ -138,11 +148,13 @@ subprojects:
138148
139149 # SECTION: lightning_lite
140150
141- - id : " lightning_lite"
151+ - id : " lightning_lite: CPU workflow "
142152 paths :
143153 - " requirements/lite/**"
144154 - " src/lightning_lite/**"
155+ - " tests/tests_lite/**"
145156 - " setup.cfg" # includes pytest config
157+ - " .github/workflows/ci-lite-tests.yml"
146158 - " .actions/**"
147159 checks :
148160 - " lite-cpu (macOS-11, lite, 3.9, 1.11)"
@@ -159,51 +171,6 @@ subprojects:
159171 - " lite-cpu (macOS-11, lightning, 3.8, 1.12)"
160172 - " lite-cpu (ubuntu-20.04, lightning, 3.8, 1.12)"
161173 - " lite-cpu (windows-2022, lightning, 3.8, 1.12)"
162- - " lightning-lite (GPUs)"
163- # Lite also requires PL checks as it depends on Lite
164- - " pl-cpu (macOS-11, pytorch, 3.8, 1.10)"
165- - " pl-cpu (macOS-11, pytorch, 3.9, 1.11)"
166- - " pl-cpu (macOS-11, pytorch, 3.10, 1.12)"
167- - " pl-cpu (macOS-11, pytorch, 3.10, 1.13, pre)"
168- - " pl-cpu (ubuntu-20.04, pytorch, 3.8, 1.10)"
169- - " pl-cpu (ubuntu-20.04, pytorch, 3.9, 1.11)"
170- - " pl-cpu (ubuntu-20.04, pytorch, 3.10, 1.11)"
171- - " pl-cpu (ubuntu-20.04, pytorch, 3.10, 1.12)"
172- - " pl-cpu (ubuntu-20.04, pytorch, 3.9, 1.13, pre)"
173- - " pl-cpu (windows-2022, pytorch, 3.9, 1.11)"
174- - " pl-cpu (windows-2022, pytorch, 3.10, 1.11)"
175- - " pl-cpu (windows-2022, pytorch, 3.10, 1.12)"
176- - " pl-cpu (windows-2022, pytorch, 3.8, 1.13, pre)"
177- - " pl-cpu (macOS-11, lightning, 3.10, 1.12)"
178- - " pl-cpu (ubuntu-20.04, lightning, 3.10, 1.12)"
179- - " pl-cpu (windows-2022, lightning, 3.10, 1.12)"
180- - " pytorch-lightning (GPUs)"
181- - " pytorch-lightning (HPUs)"
182- - " pytorch-lightning (IPUs)"
183- - " pl-cpu (slow, macOS-11, pytorch, 3.7, 1.11)"
184- - " pl-cpu (slow, ubuntu-20.04, pytorch, 3.7, 1.11)"
185- - " pl-cpu (slow, windows-2022, pytorch, 3.7, 1.11)"
186- # - "test-on-tpus"
187-
188- - id : " lightning_lite: Tests"
189- paths :
190- - " tests/tests_lite/**"
191- checks :
192- - " lite-cpu (macOS-11, lite, 3.9, 1.11)"
193- - " lite-cpu (macOS-11, lite, 3.8, 1.10)"
194- - " lite-cpu (macOS-11, lite, 3.10, 1.12)"
195- - " lite-cpu (macOS-11, lite, 3.10, 1.13, pre)"
196- - " lite-cpu (ubuntu-20.04, lite, 3.8, 1.11)"
197- - " lite-cpu (ubuntu-20.04, lite, 3.10, 1.12)"
198- - " lite-cpu (ubuntu-20.04, lite, 3.9, 1.13, pre)"
199- - " lite-cpu (windows-2022, lite, 3.9, 1.10)"
200- - " lite-cpu (windows-2022, lite, 3.10, 1.11)"
201- - " lite-cpu (windows-2022, lite, 3.10, 1.12)"
202- - " lite-cpu (windows-2022, lite, 3.8, 1.13, pre)"
203- - " lite-cpu (macOS-11, lightning, 3.8, 1.12)"
204- - " lite-cpu (ubuntu-20.04, lightning, 3.8, 1.12)"
205- - " lite-cpu (windows-2022, lightning, 3.8, 1.12)"
206- - " lightning-lite (GPUs)"
207174
208175 - id : " lightning_lite: Azure GPU"
209176 paths :
@@ -212,34 +179,25 @@ subprojects:
212179 - " examples/run_lite_examples.sh"
213180 - " tests/tests_lite/run_standalone_*.sh"
214181 - " tests/tests_pytorch/run_standalone_tests.sh" # used by Lite through a symlink
182+ - " requirements/lite/**"
183+ - " src/lightning_lite/**"
184+ - " tests/tests_lite/**"
185+ - " setup.cfg" # includes pytest config
186+ - " .actions/**"
215187 checks :
216188 - " lightning-lite (GPUs)"
217189
218190 # SECTION: lightning_app
219191
220- - id : " lightning_app"
192+ - id : " lightning_app: Tests workflow "
221193 paths :
222- - " requirements/app/** "
194+ - " .github/workflows/ci-app-tests.yml "
223195 - " src/lightning_app/**"
224196 - " tests/tests_app/**"
225197 - " examples/app_*/**" # some tests_app tests call examples files
198+ - " requirements/app/**"
226199 - " setup.py"
227200 - " .actions/**"
228- checks :
229- - " App.cloud-e2e"
230- - " app-pytest (macOS-11, app, 3.8, latest)"
231- - " app-pytest (macOS-11, app, 3.8, oldest)"
232- - " app-pytest (macOS-11, lightning, 3.9, latest)"
233- - " app-pytest (ubuntu-20.04, app, 3.8, latest)"
234- - " app-pytest (ubuntu-20.04, app, 3.8, oldest)"
235- - " app-pytest (ubuntu-20.04, lightning, 3.9, latest)"
236- - " app-pytest (windows-2022, app, 3.8, latest)"
237- - " app-pytest (windows-2022, app, 3.8, oldest)"
238- - " app-pytest (windows-2022, lightning, 3.8, latest)"
239-
240- - id : " lightning_app: Tests workflow"
241- paths :
242- - " .github/workflows/ci-app-tests.yml"
243201 checks :
244202 - " app-pytest (macOS-11, app, 3.8, latest)"
245203 - " app-pytest (macOS-11, app, 3.8, oldest)"
@@ -253,10 +211,11 @@ subprojects:
253211
254212 - id : " lightning_app: Examples"
255213 paths :
256- - " requirements/app/** "
214+ - " .github/workflows/ci-app-examples.yml "
257215 - " src/lightning_app/**"
258216 - " tests/tests_app_examples/**"
259- - " examples/app_*/**"
217+ - " examples/app_*"
218+ - " requirements/app/**"
260219 - " setup.py"
261220 - " .actions/**"
262221 checks :
@@ -270,33 +229,29 @@ subprojects:
270229 - " app-examples (windows-2022, app, 3.9, oldest)"
271230 - " app-examples (windows-2022, lightning, 3.9, latest)"
272231
273- - id : " lightning_app: Examples workflow"
274- paths :
275- - " .github/workflows/ci-app-examples.yml"
276- checks :
277- - " app-examples (macOS-11, app, 3.9, latest)"
278- - " app-examples (macOS-11, app, 3.9, oldest)"
279- - " app-examples (macOS-11, lightning, 3.9, latest)"
280- - " app-examples (ubuntu-20.04, app, 3.9, latest)"
281- - " app-examples (ubuntu-20.04, app, 3.9, oldest)"
282- - " app-examples (ubuntu-20.04, lightning, 3.9, latest)"
283- - " app-examples (windows-2022, app, 3.9, latest)"
284- - " app-examples (windows-2022, app, 3.9, oldest)"
285- - " app-examples (windows-2022, lightning, 3.9, latest)"
286-
287232 - id : " lightning_app: Azure"
288233 paths :
289234 - " .azure/app-cloud-e2e.yml"
235+ - " requirements/app/**"
236+ - " src/lightning_app/**"
237+ - " tests/tests_app/**"
238+ - " examples/app_*/**" # some tests_app tests call examples files
239+ - " tests/tests_app_examples/**"
240+ - " setup.py"
241+ - " .actions/**"
290242 checks :
291243 - " App.cloud-e2e"
292244
293245 - id : " lightning_app: Docs"
294246 paths :
295247 - " src/lightning_app/**"
296248 - " docs/source-app/**"
297- - " .github/workflows/docs-* .yml"
249+ - " .github/workflows/docs-checks .yml"
298250 - " requirements/docs.txt"
299251 - " requirements/app/**"
252+ - " setup.py"
253+ - " setup.cfg" # includes metadata used in the package creation
254+ - " .actions/**"
300255 checks :
301256 - " make-doctest (app)"
302257 - " make-html (app)"
0 commit comments