Skip to content

Commit c2b4e39

Browse files
authored
Add windows 12.9 domain builds (#6838)
pytorch/pytorch#155196 Add Windows 12.9 domain builds (torchaudio/torchvision) Also removes the unnecessary cuda-aarch64 entry, it is a duplicate entry. cc @atalman
1 parent 8103a77 commit c2b4e39

File tree

2 files changed

+90
-5
lines changed

2 files changed

+90
-5
lines changed

tools/scripts/generate_binary_build_matrix.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,7 @@ def initialize_globals(channel: str, build_python_only: bool) -> None:
176176
},
177177
CPU: "pytorch/manylinux2_28-builder:cpu",
178178
XPU: "pytorch/manylinux2_28-builder:xpu",
179-
# TODO: Migrate CUDA_AARCH64 image to manylinux2_28_aarch64-builder:cuda12.4
180179
CPU_AARCH64: "pytorch/manylinux2_28_aarch64-builder:cpu-aarch64",
181-
CUDA_AARCH64: "pytorch/manylinuxaarch64-builder:cuda12.6",
182180
}
183181
LIBTORCH_CONTAINER_IMAGES = {
184182
**{
@@ -445,9 +443,6 @@ def generate_wheels_matrix(
445443
upload_to_base_bucket = "no"
446444
if os in (LINUX, WINDOWS):
447445
arches += CUDA_ARCHES
448-
# todo: remove once windows cuda 12.9 binaries are available
449-
if channel == NIGHTLY and os != LINUX:
450-
arches.remove("12.9")
451446
elif os == LINUX_AARCH64:
452447
arches += CUDA_AARCH64_ARCHES
453448

tools/tests/assets/build_matrix_windows_wheel_cuda.json

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,21 @@
4545
"stable_version": "2.7.1",
4646
"use_split_build": false
4747
},
48+
{
49+
"python_version": "3.9",
50+
"gpu_arch_type": "cuda",
51+
"gpu_arch_version": "12.9",
52+
"desired_cuda": "cu129",
53+
"container_image": "pytorch/manylinux2_28-builder:cuda12.9",
54+
"package_type": "wheel",
55+
"build_name": "wheel-py3_9-cuda12_9",
56+
"validation_runner": "windows.g4dn.xlarge",
57+
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu129",
58+
"channel": "nightly",
59+
"upload_to_base_bucket": "no",
60+
"stable_version": "2.7.1",
61+
"use_split_build": false
62+
},
4863
{
4964
"python_version": "3.9",
5065
"gpu_arch_type": "xpu",
@@ -105,6 +120,21 @@
105120
"stable_version": "2.7.1",
106121
"use_split_build": false
107122
},
123+
{
124+
"python_version": "3.10",
125+
"gpu_arch_type": "cuda",
126+
"gpu_arch_version": "12.9",
127+
"desired_cuda": "cu129",
128+
"container_image": "pytorch/manylinux2_28-builder:cuda12.9",
129+
"package_type": "wheel",
130+
"build_name": "wheel-py3_10-cuda12_9",
131+
"validation_runner": "windows.g4dn.xlarge",
132+
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu129",
133+
"channel": "nightly",
134+
"upload_to_base_bucket": "no",
135+
"stable_version": "2.7.1",
136+
"use_split_build": false
137+
},
108138
{
109139
"python_version": "3.10",
110140
"gpu_arch_type": "xpu",
@@ -165,6 +195,21 @@
165195
"stable_version": "2.7.1",
166196
"use_split_build": false
167197
},
198+
{
199+
"python_version": "3.11",
200+
"gpu_arch_type": "cuda",
201+
"gpu_arch_version": "12.9",
202+
"desired_cuda": "cu129",
203+
"container_image": "pytorch/manylinux2_28-builder:cuda12.9",
204+
"package_type": "wheel",
205+
"build_name": "wheel-py3_11-cuda12_9",
206+
"validation_runner": "windows.g4dn.xlarge",
207+
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu129",
208+
"channel": "nightly",
209+
"upload_to_base_bucket": "no",
210+
"stable_version": "2.7.1",
211+
"use_split_build": false
212+
},
168213
{
169214
"python_version": "3.11",
170215
"gpu_arch_type": "xpu",
@@ -225,6 +270,21 @@
225270
"stable_version": "2.7.1",
226271
"use_split_build": false
227272
},
273+
{
274+
"python_version": "3.12",
275+
"gpu_arch_type": "cuda",
276+
"gpu_arch_version": "12.9",
277+
"desired_cuda": "cu129",
278+
"container_image": "pytorch/manylinux2_28-builder:cuda12.9",
279+
"package_type": "wheel",
280+
"build_name": "wheel-py3_12-cuda12_9",
281+
"validation_runner": "windows.g4dn.xlarge",
282+
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu129",
283+
"channel": "nightly",
284+
"upload_to_base_bucket": "no",
285+
"stable_version": "2.7.1",
286+
"use_split_build": false
287+
},
228288
{
229289
"python_version": "3.12",
230290
"gpu_arch_type": "xpu",
@@ -285,6 +345,21 @@
285345
"stable_version": "2.7.1",
286346
"use_split_build": false
287347
},
348+
{
349+
"python_version": "3.13",
350+
"gpu_arch_type": "cuda",
351+
"gpu_arch_version": "12.9",
352+
"desired_cuda": "cu129",
353+
"container_image": "pytorch/manylinux2_28-builder:cuda12.9",
354+
"package_type": "wheel",
355+
"build_name": "wheel-py3_13-cuda12_9",
356+
"validation_runner": "windows.g4dn.xlarge",
357+
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu129",
358+
"channel": "nightly",
359+
"upload_to_base_bucket": "no",
360+
"stable_version": "2.7.1",
361+
"use_split_build": false
362+
},
288363
{
289364
"python_version": "3.13",
290365
"gpu_arch_type": "xpu",
@@ -345,6 +420,21 @@
345420
"stable_version": "2.7.1",
346421
"use_split_build": false
347422
},
423+
{
424+
"python_version": "3.13t",
425+
"gpu_arch_type": "cuda",
426+
"gpu_arch_version": "12.9",
427+
"desired_cuda": "cu129",
428+
"container_image": "pytorch/manylinux2_28-builder:cuda12.9",
429+
"package_type": "wheel",
430+
"build_name": "wheel-py3_13t-cuda12_9",
431+
"validation_runner": "windows.g4dn.xlarge",
432+
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu129",
433+
"channel": "nightly",
434+
"upload_to_base_bucket": "no",
435+
"stable_version": "2.7.1",
436+
"use_split_build": false
437+
},
348438
{
349439
"python_version": "3.13t",
350440
"gpu_arch_type": "xpu",

0 commit comments

Comments
 (0)