69
69
]}
70
70
secrets : inherit
71
71
72
- linux-jammy-py3_9-gcc11-test :
73
- name : linux-jammy-py3.9-gcc11
74
- uses : ./.github/workflows/_linux-test.yml
75
- needs :
76
- - linux-jammy-py3_9-gcc11-build
77
- - target-determination
78
- with :
79
- build-environment : linux-jammy-py3.9-gcc11
80
- docker-image : ${{ needs.linux-jammy-py3_9-gcc11-build.outputs.docker-image }}
81
- test-matrix : ${{ needs.linux-jammy-py3_9-gcc11-build.outputs.test-matrix }}
82
- secrets : inherit
83
72
84
73
linux-docs :
85
74
name : linux-docs
90
79
docker-image : ${{ needs.linux-jammy-py3_9-gcc11-build.outputs.docker-image }}
91
80
secrets : inherit
92
81
93
- linux-jammy-py3_9-gcc11-no-ops :
94
- name : linux-jammy-py3.9-gcc11-no-ops
95
- uses : ./.github/workflows/_linux-build.yml
96
- needs : get-label-type
97
- with :
98
- runner_prefix : " ${{ needs.get-label-type.outputs.label-type }}"
99
- build-environment : linux-jammy-py3.9-gcc11-no-ops
100
- docker-image-name : pytorch-linux-jammy-py3.9-gcc11
101
- test-matrix : |
102
- { include: [
103
- { config: "default", shard: 1, num_shards: 1 },
104
- ]}
105
- secrets : inherit
106
-
107
- linux-jammy-py3_9-gcc11-pch :
108
- name : linux-jammy-py3.9-gcc11-pch
109
- uses : ./.github/workflows/_linux-build.yml
110
- needs : get-label-type
111
- with :
112
- runner_prefix : " ${{ needs.get-label-type.outputs.label-type }}"
113
- build-environment : linux-jammy-py3.9-gcc11-pch
114
- docker-image-name : pytorch-linux-jammy-py3.9-gcc11
115
- test-matrix : |
116
- { include: [
117
- { config: "default", shard: 1, num_shards: 1 },
118
- ]}
119
- secrets : inherit
120
82
121
83
linux-jammy-py3_10-clang15-asan-build :
122
84
name : linux-jammy-py3.10-clang15-asan
@@ -139,45 +101,6 @@ jobs:
139
101
secrets : inherit
140
102
141
103
142
- linux-jammy-py3_10-clang15-asan-test :
143
- name : linux-jammy-py3.10-clang15-asan
144
- uses : ./.github/workflows/_linux-test.yml
145
- needs :
146
- - linux-jammy-py3_10-clang15-asan-build
147
- - target-determination
148
- with :
149
- build-environment : linux-jammy-py3.10-clang15-asan
150
- docker-image : ${{ needs.linux-jammy-py3_10-clang15-asan-build.outputs.docker-image }}
151
- test-matrix : ${{ needs.linux-jammy-py3_10-clang15-asan-build.outputs.test-matrix }}
152
- sync-tag : asan-test
153
- secrets : inherit
154
-
155
- linux-focal-py3_9-clang10-onnx-build :
156
- name : linux-focal-py3.9-clang10-onnx
157
- uses : ./.github/workflows/_linux-build.yml
158
- needs : get-label-type
159
- with :
160
- runner_prefix : " ${{ needs.get-label-type.outputs.label-type }}"
161
- build-environment : linux-focal-py3.9-clang10-onnx
162
- docker-image-name : pytorch-linux-focal-py3-clang10-onnx
163
- test-matrix : |
164
- { include: [
165
- { config: "default", shard: 1, num_shards: 2, runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" },
166
- { config: "default", shard: 2, num_shards: 2, runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" },
167
- ]}
168
- secrets : inherit
169
-
170
- linux-focal-py3_9-clang10-onnx-test :
171
- name : linux-focal-py3.9-clang10-onnx
172
- uses : ./.github/workflows/_linux-test.yml
173
- needs :
174
- - linux-focal-py3_9-clang10-onnx-build
175
- - target-determination
176
- with :
177
- build-environment : linux-focal-py3.9-clang10-onnx
178
- docker-image : ${{ needs.linux-focal-py3_9-clang10-onnx-build.outputs.docker-image }}
179
- test-matrix : ${{ needs.linux-focal-py3_9-clang10-onnx-build.outputs.test-matrix }}
180
- secrets : inherit
181
104
182
105
linux-focal-py3_9-clang10-build :
183
106
name : linux-focal-py3.9-clang10
@@ -202,18 +125,6 @@ jobs:
202
125
]}
203
126
secrets : inherit
204
127
205
- linux-focal-py3_9-clang10-test :
206
- name : linux-focal-py3.9-clang10
207
- uses : ./.github/workflows/_linux-test.yml
208
- needs :
209
- - linux-focal-py3_9-clang10-build
210
- - target-determination
211
- with :
212
- build-environment : linux-focal-py3.9-clang10
213
- docker-image : ${{ needs.linux-focal-py3_9-clang10-build.outputs.docker-image }}
214
- test-matrix : ${{ needs.linux-focal-py3_9-clang10-build.outputs.test-matrix }}
215
- secrets : inherit
216
-
217
128
linux-focal-py3_13-clang10-build :
218
129
name : linux-focal-py3.13-clang10
219
130
uses : ./.github/workflows/_linux-build.yml
@@ -237,16 +148,6 @@ jobs:
237
148
]}
238
149
secrets : inherit
239
150
240
- linux-focal-py3_13-clang10-test :
241
- name : linux-focal-py3.13-clang10
242
- uses : ./.github/workflows/_linux-test.yml
243
- needs : linux-focal-py3_13-clang10-build
244
- with :
245
- build-environment : linux-focal-py3.13-clang10
246
- docker-image : ${{ needs.linux-focal-py3_13-clang10-build.outputs.docker-image }}
247
- test-matrix : ${{ needs.linux-focal-py3_13-clang10-build.outputs.test-matrix }}
248
- timeout-minutes : 600
249
- secrets : inherit
250
151
251
152
linux-focal-cuda11_8-py3_10-gcc9-build :
252
153
name : linux-focal-cuda11.8-py3.10-gcc9
@@ -265,18 +166,6 @@ jobs:
265
166
]}
266
167
secrets : inherit
267
168
268
- linux-focal-cuda11_8-py3_10-gcc9-test :
269
- name : linux-focal-cuda11.8-py3.10-gcc9
270
- uses : ./.github/workflows/_linux-test.yml
271
- needs :
272
- - linux-focal-cuda11_8-py3_10-gcc9-build
273
- - target-determination
274
- with :
275
- timeout-minutes : 360
276
- build-environment : linux-focal-cuda11.8-py3.10-gcc9
277
- docker-image : ${{ needs.linux-focal-cuda11_8-py3_10-gcc9-build.outputs.docker-image }}
278
- test-matrix : ${{ needs.linux-focal-cuda11_8-py3_10-gcc9-build.outputs.test-matrix }}
279
- secrets : inherit
280
169
281
170
linux-focal-cuda12_6-py3_10-gcc11-build :
282
171
name : linux-focal-cuda12.6-py3.10-gcc11
@@ -296,18 +185,6 @@ jobs:
296
185
]}
297
186
secrets : inherit
298
187
299
- linux-focal-cuda12_6-py3_10-gcc11-test :
300
- name : linux-focal-cuda12.6-py3.10-gcc11
301
- uses : ./.github/workflows/_linux-test.yml
302
- needs :
303
- - linux-focal-cuda12_6-py3_10-gcc11-build
304
- - target-determination
305
- with :
306
- timeout-minutes : 360
307
- build-environment : linux-focal-cuda12.6-py3.10-gcc11
308
- docker-image : ${{ needs.linux-focal-cuda12_6-py3_10-gcc11-build.outputs.docker-image }}
309
- test-matrix : ${{ needs.linux-focal-cuda12_6-py3_10-gcc11-build.outputs.test-matrix }}
310
- secrets : inherit
311
188
312
189
linux-jammy-py3-clang12-mobile-build :
313
190
name : linux-jammy-py3-clang12-mobile-build
@@ -351,17 +228,6 @@ jobs:
351
228
{ config: "xla", shard: 1, num_shards: 1, runner: "${{ needs.get-label-type.outputs.label-type }}linux.12xlarge" },
352
229
]}
353
230
secrets : inherit
354
-
355
- linux-focal-py3_9-clang9-xla-test :
356
- name : linux-focal-py3_9-clang9-xla
357
- uses : ./.github/workflows/_linux-test.yml
358
- needs : linux-focal-py3_9-clang9-xla-build
359
- with :
360
- build-environment : linux-focal-py3.9-clang9-xla
361
- docker-image : ${{ needs.linux-focal-py3_9-clang9-xla-build.outputs.docker-image }}
362
- test-matrix : ${{ needs.linux-focal-py3_9-clang9-xla-build.outputs.test-matrix }}
363
- secrets : inherit
364
-
365
231
win-vs2022-cpu-py3-build :
366
232
# don't run build twice on main
367
233
if : github.event_name == 'pull_request'
@@ -381,20 +247,6 @@ jobs:
381
247
]}
382
248
secrets : inherit
383
249
384
- linux-focal-cpu-py3_10-gcc11-bazel-test :
385
- name : linux-focal-cpu-py3.10-gcc11-bazel-test
386
- uses : ./.github/workflows/_bazel-build-test.yml
387
- needs : get-label-type
388
- with :
389
- runner : " ${{ needs.get-label-type.outputs.label-type }}linux.large"
390
- build-environment : linux-focal-cuda12.6-py3.10-gcc11-bazel-test
391
- docker-image-name : pytorch-linux-focal-cuda12.6-cudnn9-py3-gcc11
392
- cuda-version : cpu
393
- test-matrix : |
394
- { include: [
395
- { config: "default", shard: 1, num_shards: 1, runner: "${{ needs.get-label-type.outputs.label-type }}linux.4xlarge" },
396
- ]}
397
- secrets : inherit
398
250
399
251
linux-jammy-py3_9-gcc11-mobile-lightweight-dispatch-build :
400
252
name : linux-jammy-py3.9-gcc11-mobile-lightweight-dispatch-build
@@ -411,24 +263,6 @@ jobs:
411
263
]}
412
264
secrets : inherit
413
265
414
- linux-focal-rocm6_3-py3_10-build :
415
- # don't run build twice on main
416
- if : github.event_name == 'pull_request'
417
- name : linux-focal-rocm6.3-py3.10
418
- uses : ./.github/workflows/_linux-build.yml
419
- needs : get-label-type
420
- with :
421
- runner_prefix : " ${{ needs.get-label-type.outputs.label-type }}"
422
- build-environment : linux-focal-rocm6.3-py3.10
423
- docker-image-name : pytorch-linux-focal-rocm-n-py3
424
- sync-tag : rocm-build
425
- test-matrix : |
426
- { include: [
427
- { config: "default", shard: 1, num_shards: 3, runner: "linux.rocm.gpu.2" },
428
- { config: "default", shard: 2, num_shards: 3, runner: "linux.rocm.gpu.2" },
429
- { config: "default", shard: 3, num_shards: 3, runner: "linux.rocm.gpu.2" },
430
- ]}
431
- secrets : inherit
432
266
433
267
linux-focal-cuda12_6-py3_10-gcc11-sm89-build :
434
268
name : linux-focal-cuda12.6-py3.10-gcc11-sm89
@@ -448,102 +282,3 @@ jobs:
448
282
{ config: "default", shard: 5, num_shards: 5, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g6.4xlarge.experimental.nvidia.gpu" },
449
283
]}
450
284
secrets : inherit
451
-
452
- unstable-linux-focal-cuda12_6-py3_10-gcc11-sm89-build-xfail :
453
- # A version of the build that sets a larger number of jobs for a build. May
454
- # OOM
455
- name : unstable-linux-focal-cuda12.6-py3.10-gcc11-sm89-xfail
456
- uses : ./.github/workflows/_linux-build.yml
457
- needs : get-label-type
458
- with :
459
- runner_prefix : " ${{ needs.get-label-type.outputs.label-type }}"
460
- build-environment : linux-focal-cuda12.6-py3.10-gcc11-sm89
461
- docker-image-name : pytorch-linux-focal-cuda12.6-cudnn9-py3-gcc11
462
- cuda-arch-list : 8.9
463
- max-jobs : 4
464
- # Doesn't actually run tests, but need this in order to prevent the build
465
- # from being skipped
466
- test-matrix : |
467
- { include: [
468
- { config: "default", shard: 1, num_shards: 5, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g6.4xlarge.experimental.nvidia.gpu" },
469
- ]}
470
- secrets : inherit
471
-
472
- linux-focal-cuda12_6-py3_10-gcc11-sm89-test :
473
- name : linux-focal-cuda12.6-py3.10-gcc11-sm89
474
- uses : ./.github/workflows/_linux-test.yml
475
- needs :
476
- - linux-focal-cuda12_6-py3_10-gcc11-sm89-build
477
- - target-determination
478
- with :
479
- build-environment : linux-focal-cuda12.6-py3.10-gcc11-sm89
480
- docker-image : ${{ needs.linux-focal-cuda12_6-py3_10-gcc11-sm89-build.outputs.docker-image }}
481
- test-matrix : ${{ needs.linux-focal-cuda12_6-py3_10-gcc11-sm89-build.outputs.test-matrix }}
482
- secrets : inherit
483
-
484
- linux-jammy-py3-clang12-executorch-build :
485
- name : linux-jammy-py3-clang12-executorch
486
- uses : ./.github/workflows/_linux-build.yml
487
- needs : get-label-type
488
- with :
489
- runner_prefix : " ${{ needs.get-label-type.outputs.label-type }}"
490
- build-environment : linux-jammy-py3-clang12-executorch
491
- docker-image-name : pytorch-linux-jammy-py3-clang12-executorch
492
- test-matrix : |
493
- { include: [
494
- { config: "executorch", shard: 1, num_shards: 1, runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" },
495
- ]}
496
- secrets : inherit
497
-
498
- linux-jammy-py3-clang12-executorch-test :
499
- name : linux-jammy-py3-clang12-executorch
500
- uses : ./.github/workflows/_linux-test.yml
501
- needs : linux-jammy-py3-clang12-executorch-build
502
- with :
503
- build-environment : linux-jammy-py3-clang12-executorch
504
- docker-image : ${{ needs.linux-jammy-py3-clang12-executorch-build.outputs.docker-image }}
505
- test-matrix : ${{ needs.linux-jammy-py3-clang12-executorch-build.outputs.test-matrix }}
506
- secrets : inherit
507
-
508
- linux-focal-cuda12_4-py3_10-gcc9-inductor-build :
509
- name : cuda12.4-py3.10-gcc9-sm75
510
- uses : ./.github/workflows/_linux-build.yml
511
- needs : get-label-type
512
- with :
513
- runner_prefix : " ${{ needs.get-label-type.outputs.label-type }}"
514
- build-environment : linux-focal-cuda12.4-py3.10-gcc9-sm75
515
- docker-image-name : pytorch-linux-focal-cuda12.4-cudnn9-py3-gcc9-inductor-benchmarks
516
- cuda-arch-list : ' 7.5'
517
- test-matrix : |
518
- { include: [
519
- { config: "pr_time_benchmarks", shard: 1, num_shards: 1, runner: "linux.g4dn.metal.nvidia.gpu" },
520
- ]}
521
- secrets : inherit
522
-
523
- linux-focal-cuda12_4-py3_10-gcc9-inductor-test :
524
- name : cuda12.4-py3.10-gcc9-sm75
525
- uses : ./.github/workflows/_linux-test.yml
526
- needs : linux-focal-cuda12_4-py3_10-gcc9-inductor-build
527
- with :
528
- build-environment : linux-focal-cuda12.4-py3.10-gcc9-sm75
529
- docker-image : ${{ needs.linux-focal-cuda12_4-py3_10-gcc9-inductor-build.outputs.docker-image }}
530
- test-matrix : ${{ needs.linux-focal-cuda12_4-py3_10-gcc9-inductor-build.outputs.test-matrix }}
531
- secrets : inherit
532
-
533
- linux-jammy-xpu-2025_0-py3_9-build :
534
- name : linux-jammy-xpu-2025.0-py3.9
535
- uses : ./.github/workflows/_linux-build.yml
536
- needs : get-label-type
537
- with :
538
- sync-tag : linux-xpu-2025-0-build
539
- runner_prefix : ${{ needs.get-label-type.outputs.label-type }}
540
- build-environment : linux-jammy-xpu-2025.0-py3.9
541
- docker-image-name : pytorch-linux-jammy-xpu-2025.0-py3
542
- test-matrix : |
543
- { include: [
544
- { config: "default", shard: 1, num_shards: 4, runner: "linux.idc.xpu" },
545
- { config: "default", shard: 2, num_shards: 4, runner: "linux.idc.xpu" },
546
- { config: "default", shard: 3, num_shards: 4, runner: "linux.idc.xpu" },
547
- { config: "default", shard: 4, num_shards: 4, runner: "linux.idc.xpu" },
548
- ]}
549
- secrets : inherit
0 commit comments