Skip to content

Add a test case for Linux aarch64 cu129 build (#7373) - #7383

Merged
huydhn merged 1 commit into
pytorch:release/2.9from
huydhn:cherry-pick-7373
Oct 20, 2025
Merged

Add a test case for Linux aarch64 cu129 build (#7373)#7383
huydhn merged 1 commit into
pytorch:release/2.9from
huydhn:cherry-pick-7373

Conversation

@huydhn

@huydhn huydhn commented Oct 20, 2025

Copy link
Copy Markdown
Contributor

#7364 missed this spot and failed to modify the right variable. Let's add a test case to avoid this. I can confirm that Linux aarch64 cu129 is showing up now https://github.com/pytorch/test-infra/actions/runs/18603342105

I also test this locally with:

OS=linux-aarch64 python3 tools/scripts/generate_binary_build_matrix.py | jq
{
  "include": [
    {
      "python_version": "3.10",
      "gpu_arch_type": "cpu-aarch64",
      "gpu_arch_version": "",
      "desired_cuda": "cpu",
      "container_image": "pytorch/manylinux2_28_aarch64-builder:cpu-aarch64",
      "package_type": "wheel",
      "build_name": "wheel-py3_10-cpu-aarch64",
      "validation_runner": "linux.arm64.2xlarge",
      "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
      "channel": "nightly",
      "upload_to_base_bucket": "no",
      "stable_version": "2.9.0"
    },
    {
      "python_version": "3.10",
      "gpu_arch_type": "cuda-aarch64",
      "gpu_arch_version": "12.6-aarch64",
      "desired_cuda": "cu126",
      "container_image": "pytorch/manylinuxaarch64-builder:cuda12.6",
      "package_type": "wheel",
      "build_name": "wheel-py3_10-cuda-aarch6412_6-aarch64",
      "validation_runner": "linux.arm64.m7g.4xlarge",
      "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu126",
      "channel": "nightly",
      "upload_to_base_bucket": "no",
      "stable_version": "2.9.0"
    },
    {
      "python_version": "3.10",
      "gpu_arch_type": "cuda-aarch64",
      "gpu_arch_version": "12.8-aarch64",
      "desired_cuda": "cu128",
      "container_image": "pytorch/manylinuxaarch64-builder:cuda12.8",
      "package_type": "wheel",
      "build_name": "wheel-py3_10-cuda-aarch6412_8-aarch64",
      "validation_runner": "linux.arm64.m7g.4xlarge",
      "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128",
      "channel": "nightly",
      "upload_to_base_bucket": "no",
      "stable_version": "2.9.0"
  1 Update os check
    },
    {
      "python_version": "3.10",
      "gpu_arch_type": "cuda-aarch64",
      "gpu_arch_version": "13.0-aarch64",
      "desired_cuda": "cu130",
      "container_image": "pytorch/manylinuxaarch64-builder:cuda13.0",
      "package_type": "wheel",
      "build_name": "wheel-py3_10-cuda-aarch6413_0-aarch64",
      "validation_runner": "linux.arm64.m7g.4xlarge",
      "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu130",
      "channel": "nightly",
      "upload_to_base_bucket": "no",
      "stable_version": "2.9.0"
    },
    {
      "python_version": "3.10",
      "gpu_arch_type": "cuda-aarch64",
      "gpu_arch_version": "12.9-aarch64",
      "desired_cuda": "cu129",
      "container_image": "pytorch/manylinuxaarch64-builder:cuda12.9",
      "package_type": "wheel",
      "build_name": "wheel-py3_10-cuda-aarch6412_9-aarch64",
      "validation_runner": "linux.arm64.m7g.4xlarge",
      "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu129",
      "channel": "nightly",
      "upload_to_base_bucket": "no",
      "stable_version": "2.9.0"
    }
  ]
}

pytorch#7364 missed this spot and
failed to modify the right variable. Let's add a test case to avoid
this. I can confirm that Linux aarch64 cu129 is showing up now
https://github.com/pytorch/test-infra/actions/runs/18603342105

I also test this locally with:

```
OS=linux-aarch64 python3 tools/scripts/generate_binary_build_matrix.py | jq
{
  "include": [
    {
      "python_version": "3.10",
      "gpu_arch_type": "cpu-aarch64",
      "gpu_arch_version": "",
      "desired_cuda": "cpu",
      "container_image": "pytorch/manylinux2_28_aarch64-builder:cpu-aarch64",
      "package_type": "wheel",
      "build_name": "wheel-py3_10-cpu-aarch64",
      "validation_runner": "linux.arm64.2xlarge",
      "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
      "channel": "nightly",
      "upload_to_base_bucket": "no",
      "stable_version": "2.9.0"
    },
    {
      "python_version": "3.10",
      "gpu_arch_type": "cuda-aarch64",
      "gpu_arch_version": "12.6-aarch64",
      "desired_cuda": "cu126",
      "container_image": "pytorch/manylinuxaarch64-builder:cuda12.6",
      "package_type": "wheel",
      "build_name": "wheel-py3_10-cuda-aarch6412_6-aarch64",
      "validation_runner": "linux.arm64.m7g.4xlarge",
      "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu126",
      "channel": "nightly",
      "upload_to_base_bucket": "no",
      "stable_version": "2.9.0"
    },
    {
      "python_version": "3.10",
      "gpu_arch_type": "cuda-aarch64",
      "gpu_arch_version": "12.8-aarch64",
      "desired_cuda": "cu128",
      "container_image": "pytorch/manylinuxaarch64-builder:cuda12.8",
      "package_type": "wheel",
      "build_name": "wheel-py3_10-cuda-aarch6412_8-aarch64",
      "validation_runner": "linux.arm64.m7g.4xlarge",
      "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128",
      "channel": "nightly",
      "upload_to_base_bucket": "no",
      "stable_version": "2.9.0"
  1 Update os check
    },
    {
      "python_version": "3.10",
      "gpu_arch_type": "cuda-aarch64",
      "gpu_arch_version": "13.0-aarch64",
      "desired_cuda": "cu130",
      "container_image": "pytorch/manylinuxaarch64-builder:cuda13.0",
      "package_type": "wheel",
      "build_name": "wheel-py3_10-cuda-aarch6413_0-aarch64",
      "validation_runner": "linux.arm64.m7g.4xlarge",
      "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu130",
      "channel": "nightly",
      "upload_to_base_bucket": "no",
      "stable_version": "2.9.0"
    },
    {
      "python_version": "3.10",
      "gpu_arch_type": "cuda-aarch64",
      "gpu_arch_version": "12.9-aarch64",
      "desired_cuda": "cu129",
      "container_image": "pytorch/manylinuxaarch64-builder:cuda12.9",
      "package_type": "wheel",
      "build_name": "wheel-py3_10-cuda-aarch6412_9-aarch64",
      "validation_runner": "linux.arm64.m7g.4xlarge",
      "installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu129",
      "channel": "nightly",
      "upload_to_base_bucket": "no",
      "stable_version": "2.9.0"
    }
  ]
}
```

---------

Signed-off-by: Huy Do <huydhn@gmail.com>
@huydhn
huydhn requested review from Camyll and atalman October 20, 2025 18:03
@vercel

vercel Bot commented Oct 20, 2025

Copy link
Copy Markdown

@huydhn is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 20, 2025

@atalman atalman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vercel

vercel Bot commented Oct 20, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Updated (UTC)
torchci Ignored Ignored Preview Oct 20, 2025 6:37pm

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

@huydhn
huydhn merged commit 72526d5 into pytorch:release/2.9 Oct 20, 2025
92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants