From 3207bb3f28c8a6b9ba769be09ebd8dad41a9504e Mon Sep 17 00:00:00 2001 From: Huy Do Date: Fri, 2 Oct 2026 23:35:34 -0700 Subject: [PATCH 1/3] Run the Linux tests on OSDC runners v2 -> v3, with the runners mapped per pytorch/pytorch's .github/arc.yaml: linux.12xlarge -> mt-l-x86iavx512-48-384 and linux.g5.4xlarge.nvidia.gpu -> mt-l-x86aavx2-11-41-a10g. Authored with Claude Code. --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5372bf9..8b3968d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,15 +13,15 @@ jobs: matrix: python-version: - "3.11" - runner: ["linux.12xlarge"] + runner: ["mt-l-x86iavx512-48-384"] gpu-arch-type: ["cpu"] include: - python-version: 3.13 - runner: linux.g5.4xlarge.nvidia.gpu + runner: mt-l-x86aavx2-11-41-a10g gpu-arch-type: cuda gpu-arch-version: "12.9" fail-fast: false - uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main + uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main permissions: id-token: write contents: read From 1f04c2282c30e4d294e4006a77fcffd4fc84942e Mon Sep 17 00:00:00 2001 From: Huy Do Date: Wed, 7 Oct 2026 15:20:23 -0700 Subject: [PATCH 2/3] Clear additional-fetch-refs: this repo has no main branch linux_job_v3 defaults additional-fetch-refs to refs/heads/main. extension-cpp's default branch is master, so the checkout fails before any test runs: git fetch --no-tags --prune --depth=1 origin +74c4cdf... fatal: couldn't find remote ref refs/heads/main The process '/opt/conda/bin/git' failed with exit code 128 The 'Not authorized to perform sts:AssumeRoleWithWebIdentity' higher in the same log is unrelated noise: that step is continue-on-error, records success, and only disables the sccache S3 credentials. Authored with Claude Code. --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8b3968d..0d6d567 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,6 +27,10 @@ jobs: contents: read with: repository: pytorch/extension-cpp + # linux_job_v3 defaults this to refs/heads/main, which this repo does not + # have -- its default branch is master -- so the checkout dies with + # "fatal: couldn't find remote ref refs/heads/main". + additional-fetch-refs: "" runner: ${{ matrix.runner }} gpu-arch-type: ${{ matrix.gpu-arch-type }} gpu-arch-version: ${{ matrix.gpu-arch-version }} From 35a95e68312aaa68c20f4e1dee9dd57cd2047f24 Mon Sep 17 00:00:00 2001 From: Huy Do Date: Wed, 7 Oct 2026 15:33:33 -0700 Subject: [PATCH 3/3] Test against CUDA 13.2 instead of 12.9 The cu129 nightly index is effectively empty -- 1 cp313 wheel against 117 on cu132 -- so the install fails before any test runs: pip install --pre torch --index-url=.../nightly/cu129 ERROR: Could not find a version that satisfies the requirement torch (from versions: none) 13.2 is the stable CUDA for 2.15 per pytorch's RELEASE.md, and pytorch/almalinux-builder:cuda13.2 exists, which is the image linux_job_v3 selects from gpu-arch-version. Authored with Claude Code. --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0d6d567..387edfd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,7 +19,7 @@ jobs: - python-version: 3.13 runner: mt-l-x86aavx2-11-41-a10g gpu-arch-type: cuda - gpu-arch-version: "12.9" + gpu-arch-version: "13.2" fail-fast: false uses: pytorch/test-infra/.github/workflows/linux_job_v3.yml@main permissions: