Skip to content

Commit d7634a4

Browse files
committed
[CD] Annotate linux/arm64 cuda wheels with consistent nvidia dependencies
This resolves issues installing torch nightly wheels into a uv venv (astral-sh/uv#10693)
1 parent 95c363c commit d7634a4

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/scripts/generate_binary_build_matrix.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,9 @@ def generate_wheels_matrix(
367367
"container_image": WHEEL_CONTAINER_IMAGES[arch_version],
368368
"package_type": package_type,
369369
"pytorch_extra_install_requirements": (
370-
PYTORCH_EXTRA_INSTALL_REQUIREMENTS[arch_version]
371-
if os != "linux-aarch64"
372-
else ""
370+
PYTORCH_EXTRA_INSTALL_REQUIREMENTS["12.6"]
371+
if os == "linux-aarch64"
372+
else PYTORCH_EXTRA_INSTALL_REQUIREMENTS[arch_version]
373373
),
374374
"build_name": f"{package_type}-py{python_version}-{gpu_arch_type}{gpu_arch_version}".replace( # noqa: B950
375375
".", "_"
@@ -421,7 +421,7 @@ def generate_wheels_matrix(
421421
PYTORCH_EXTRA_INSTALL_REQUIREMENTS["xpu"]
422422
if gpu_arch_type == "xpu"
423423
else PYTORCH_EXTRA_INSTALL_REQUIREMENTS["12.4"]
424-
if os != "linux"
424+
if os != "linux" and arch_version != "cpu-aarch64"
425425
else ""
426426
),
427427
}

.github/workflows/generated-linux-aarch64-binary-manywheel-nightly.yml

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)