Repository navigation
Conversation
Drops 13.0 from `CUDA_ARCHES`, `CUDA_ARCHES_FULL_VERSION`, `CUDA_ARCHES_CUDNN_VERSION`, `CUDA_AARCH64_ARCHES`, the `PYTORCH_EXTRA_INSTALL_REQUIREMENTS` block, and the wheel-requirements arch guard, then regenerates the nightly workflows. `CUDA_STABLE` moves 13.0 -> 13.2. It has to: it names the arch used for the default/stable wheel, and leaving it on a version no longer in `CUDA_ARCHES` would select a build that is no longer produced. One consequence worth calling out: the macOS arm64 CPU wheel takes its `PYTORCH_EXTRA_INSTALL_REQUIREMENTS` from `CUDA_STABLE`, so its declared cuda-toolkit pin moves 13.0.3 -> 13.2.2. That is the only change outside the Linux and Windows CUDA matrices. The remaining `13.0` strings in the script are `cuda-bindings>=13.0.3,<14` floors, which are deliberately unchanged. Regenerated: no `cu130` remains in any generated workflow.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/198913
Note: Links to docs will display an error until the docs builds have been completed. ⏳ 128 Pending, 1 Unrelated FailureAs of commit c11d9ea with merge base f3827ae ( NEW FAILURES SUPPRESSED BY AI (non-blocking) - The following job failed, but the AI CI Advisor judged the failure not to be evidence against this change:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchmergebot merge -f "lint is green, lets merge" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
CUDA 13.0 left PyTorch binary build matrix on 2026-09-28 (pytorch/pytorch#198913), so the cu130 nightly index has published nothing since 2.15.0.dev20260928 and this lane has been testing a frozen torch.
CUDA 13.0 left PyTorch binary build matrix on 2026-09-28 (pytorch/pytorch#198913), so the cu130 nightly index has published nothing since 2.15.0.dev20260928 and this lane has been testing a frozen torch.
CUDA 13.0 left PyTorch binary build matrix on 2026-09-28 (pytorch/pytorch#198913), so the cu130 nightly index has published nothing since 2.15.0.dev20260928 and this lane has been testing a frozen torch.
## Purpose The Windows AMI installs five CUDA toolkits — 12.6, 12.8, 13.0, 13.2, 13.4. PyTorch binary builds only use the last two: ```python # .github/scripts/generate_binary_build_matrix.py (pytorch/pytorch) CUDA_ARCHES = ["13.2", "13.4"] CUDA_STABLE = "13.2" ``` 12.6 was removed in [pytorch/pytorch#196249](pytorch/pytorch#196249) and 13.0 in [pytorch/pytorch#198913](pytorch/pytorch#198913). Nothing consumes 12.8 either. This drops the three unused ones. ## Changes **`windows.pkr.hcl`** — removes the `CUDA_VERSION=12.6`, `12.8` and `13.0` provisioner blocks. 13.2 and 13.4 are unchanged. **`Install-CUDA-Tools.ps1`** — removes the matching switch branches, and removes the defaults set before the switch: ```powershell $cudnn_subfolder="cuda" $cudnn_lib_folder="lib\x64" $cudnn_subfolder="cudnn-windows-x86_64-9.10.2.21_cuda12-archive" $toolkitInstaller = "cuda_12.6.3_561.17_windows.exe" ``` Those mattered. They name the **12.6 toolkit and a cuda12 cuDNN**, and with the 12.x branches gone an unrecognised `CUDA_VERSION` would have fallen through the switch and silently installed CUDA 12.6 against a cuda12 cuDNN — a worse failure than the one being removed, because it would produce a plausible-looking AMI. Both remaining versions set all three values themselves, so the defaults are now gone and a `default` branch errors out instead: ```powershell default { Write-Error "Unsupported CUDA_VERSION '$cudaVersion'. This AMI builds 13.2 and 13.4 only." exit 1 } ``` ## Side effect Each toolkit is a multi-GB download plus install. Dropping three should take a meaningful bite out of the ~50 minute build, which matters given how close that build sits to the job limit — see #8983. ## Test plan - `packer fmt -check .` — clean. - `packer validate -syntax-only .` — "Syntax-only check passed. Everything looks okay." - Verified no remaining references to 12.6 / 12.8 / 13.0 under `aws/ami/` outside the explanatory comment. - Needs a `workflow_dispatch` run of **Build Windows AMI** to confirm end to end. Worth landing #8983 first so a hang fails in ~95 minutes with a message rather than being cancelled at 360.
vLLM's torch-nightly lane pins the cu130 index, and cu130 nightlies stopped publishing after 2.15.0.dev20260928 when 13.0 left the binary build matrix in pytorch/pytorch#198913. That lane has been re-testing a frozen wheel since. Adds 13.0 back to the nightly channel only. test and release are unchanged and CUDA_STABLE stays 13.2 -- this is a temporary hold for one consumer, not a revival of 13.0 as a shipping arch. Linux x86_64 and aarch64 only, matching the build side. Nothing consumes a Windows cu130 nightly. That required making the Windows exclusion per-channel: CUDA_ARCHES_NO_WINDOWS was a single global list, but 13.0 is still in the release channel where Windows wheels do exist and must keep being validated, so excluding it globally would have silently dropped release Windows cu130 validation. 13.0 also goes into CUDA_ARCHES_NO_GETTING_STARTED so it does not reappear in the pytorch.org install selector -- built and validated, but not advertised. CUDA_CUDNN_VERSIONS already carried 13.0, so no other data needed restoring. Reference assets regenerated with --update-reference-files.
vLLM's torch-nightly lane pins the cu130 index, and cu130 nightlies stopped publishing after 2.15.0.dev20260928 when 13.0 left the binary build matrix in pytorch/pytorch#198913. That lane has been re-testing a frozen wheel since. Adds 13.0 back to the nightly channel only, Linux x86_64 and aarch64. test and release are unchanged and STABLE_CUDA_VERSIONS stays 13.2 -- a temporary hold for one consumer, not a revival of 13.0 as a shipping arch. Keeping it off Windows meant making the Windows exclusion per-channel. CUDA_ARCHES_NO_WINDOWS was a single global list, but 13.0 is still in the release channel where Windows wheels exist and must keep being validated, so a global exclusion would have silently dropped release Windows cu130 validation. That split also corrects a pre-existing understatement. The global list carried 13.4, but whl/nightly/cu134 does publish win_amd64 wheels (176 of them) and pytorch/pytorch generates Windows cu134 nightly jobs, so Windows 13.4 was being excluded from the nightly matrix despite being built. whl/test/cu134 genuinely has none, so the exclusion stays on test. nightly 13.0 excluded, 13.4 allowed test 13.4 excluded release 13.4 excluded (not in the channel anyway) test_getting_started_windows_has_no_cuda_13_4 is renamed and made channel-aware to match, and a test is added pinning 13.0 off Windows. 13.0 also goes into CUDA_ARCHES_NO_GETTING_STARTED so it does not reappear in the pytorch.org install selector. CUDA_CUDNN_VERSIONS already carried 13.0. Reference assets regenerated with --update-reference-files.
vLLM's torch-nightly lane pins the cu130 index, and cu130 nightlies stopped publishing after 2.15.0.dev20260928 when 13.0 left the binary build matrix in pytorch/pytorch#198913. That lane has been re-testing a frozen wheel since. Adds 13.0 back to the nightly channel only, Linux x86_64 and aarch64. test and release are unchanged and STABLE_CUDA_VERSIONS stays 13.2 -- a temporary hold for one consumer, not a revival of 13.0 as a shipping arch. Keeping it off Windows meant making the Windows exclusion per-channel. CUDA_ARCHES_NO_WINDOWS was a single global list, but 13.0 is still in the release channel where Windows wheels exist and must keep being validated, so a global exclusion would have silently dropped release Windows cu130 validation. That split also corrects a pre-existing understatement. The global list carried 13.4, but whl/nightly/cu134 does publish win_amd64 wheels (176 of them) and pytorch/pytorch generates Windows cu134 nightly jobs, so Windows 13.4 was being excluded from the nightly matrix despite being built. whl/test/cu134 genuinely has none, so the exclusion stays on test. nightly 13.0 excluded, 13.4 allowed test 13.4 excluded release 13.4 excluded (not in the channel anyway) test_getting_started_windows_has_no_cuda_13_4 is renamed and made channel-aware to match, and a test is added pinning 13.0 off Windows. 13.0 also goes into CUDA_ARCHES_NO_GETTING_STARTED so it does not reappear in the pytorch.org install selector. CUDA_CUDNN_VERSIONS already carried 13.0. Reference assets regenerated with --update-reference-files.
## Purpose vLLM's torch-nightly lane pins the `cu130` index. CUDA 13.0 left the binary build matrix in [pytorch/pytorch#198913](pytorch/pytorch#198913), so the cu130 nightly index has published nothing since **2.15.0.dev20260928** and that lane has been re-testing a frozen wheel for days: ``` whl/nightly/cu130/torch/ last: 2.15.0.dev20260928 whl/nightly/cu132/torch/ dev20260929, dev20260930, dev20261001, ... ``` This is the validation-matrix half. The build half is the companion pytorch/pytorch PR. ## Changes **`CUDA_ARCHES_DICT["nightly"]`** gains `13.0`. `test` and `release` are untouched, and `STABLE_CUDA_VERSIONS` is unchanged — this is a temporary hold for one consumer, not a revival of 13.0 as a shipping arch. **Linux x86_64 and aarch64 only.** Nothing consumes a Windows cu130 nightly. That last point required a real change rather than a list entry. `CUDA_ARCHES_NO_WINDOWS` was a single global list, but 13.0 is still in the **release** channel, where Windows cu130 wheels do exist and must keep being validated. Excluding 13.0 globally would have silently dropped release Windows cu130 from validation. So the exclusion is now per channel: ```python CUDA_ARCHES_NO_WINDOWS_DICT = { "nightly": ["13.0"], "test": ["13.4"], "release": ["13.4"], } ``` ### That split also fixes a pre-existing understatement The old global list carried `13.4`, which excluded Windows cu134 from **every** channel. But Windows cu134 nightlies do exist, and pytorch/pytorch generates Windows cu134 nightly jobs: | index | `win_amd64` wheels | linux wheels | | --- | ---: | ---: | | `whl/nightly/cu134` | **176** | 1680 | | `whl/test/cu134` | **0** | 64 | So Windows 13.4 was being left out of the nightly matrix despite being built, while the test channel genuinely has none. Per channel now: | channel | excluded from Windows | | --- | --- | | nightly | `13.0` | | test | `13.4` | | release | `13.4` (not in the channel anyway) | `test_getting_started_windows_has_no_cuda_13_4` is renamed to `test_getting_started_windows_cuda_13_4_nightly_only` and made channel-aware, and `test_windows_has_no_cuda_13_0` is added. **`CUDA_ARCHES_NO_GETTING_STARTED` gains `13.0`** so it does not reappear in the pytorch.org install selector. That list exists for exactly this case — built and validated, but not advertised. Without it, `update-quick-start-module` would publish a cu130 nightly option to users. `CUDA_CUDNN_VERSIONS` already carried `13.0` (it is still in the release channel), so no other data needed restoring. ## Test plan ``` PYTHONPATH=. python -m pytest tools/tests/test_generate_binary_build_matrix.py -q 29 passed, 4 subtests passed ``` Reference assets regenerated with `--update-reference-files`. Verified the resulting matrices: | | `desired_cuda` | | --- | --- | | linux wheel | `cpu`, `cu130`, `cu132`, `cu134`, `rocm7.14`, `rocm10.0` | | windows wheel | `cpu`, `cu132`, `cu134`, `xpu` — no `cu130` | `test_getting_started_offers_nightly_cuda_13_2_and_13_4` passes unchanged, confirming 13.0 stays out of the install selector. ## Revert When vLLM's nightly lane moves off cu130 ([vllm-project/vllm#59691](vllm-project/vllm#59691) does this), this and the pytorch/pytorch side should both be reverted.
Restores the Linux-only (x86_64 + aarch64) CUDA 13.0 build matrix removed in #198913. Generated workflows regenerated via .github/regenerate.sh. vLLM's torch-nightly lane pins the cu130 index; cu130 nightlies stopped publishing after 2.15.0.dev20260928, so that lane has been re-testing a frozen wheel. This is a temporary hold for that consumer. CUDA_STABLE stays 13.2 -- only the matrix entry returns, not the stable designation. Windows is excluded via a new CUDA_ARCHES_NO_WINDOWS: nothing consumes a Windows cu130 nightly, and pytorch/test-infra's validation matrix excludes it too. The cuda13.0 builder images were never removed from build-manywheel-images.yml or build-almalinux-images.yml, so unlike #186015 no docker changes are needed. Pairs with pytorch/test-infra#8989, which restores the validation half. Made with AI, Claude Pull Request resolved: #199520 Approved by: https://github.com/huydhn, https://github.com/ngimel, https://github.com/laithsakka
Restores the Linux-only (x86_64 + aarch64) CUDA 13.0 build matrix removed in pytorch#198913. Generated workflows regenerated via .github/regenerate.sh. vLLM's torch-nightly lane pins the cu130 index; cu130 nightlies stopped publishing after 2.15.0.dev20260928, so that lane has been re-testing a frozen wheel. This is a temporary hold for that consumer. CUDA_STABLE stays 13.2 -- only the matrix entry returns, not the stable designation. Windows is excluded via a new CUDA_ARCHES_NO_WINDOWS: nothing consumes a Windows cu130 nightly, and pytorch/test-infra's validation matrix excludes it too. The cuda13.0 builder images were never removed from build-manywheel-images.yml or build-almalinux-images.yml, so unlike pytorch#186015 no docker changes are needed. Pairs with pytorch/test-infra#8989, which restores the validation half. Made with AI, Claude Pull Request resolved: pytorch#199520 Approved by: https://github.com/huydhn, https://github.com/ngimel, https://github.com/laithsakka
Related: https://dev-discuss.pytorch.org/t/removing-cuda-13-0-builds-from-pytorch-ci-cd-starting-the-week-of-sept-28/3447
Drops 13.0 from
CUDA_ARCHES,CUDA_ARCHES_FULL_VERSION,CUDA_ARCHES_CUDNN_VERSION,CUDA_AARCH64_ARCHES, thePYTORCH_EXTRA_INSTALL_REQUIREMENTSblock, and the wheel-requirements arch guard, then regenerates the nightly workflows.CUDA_STABLEmoves 13.0 -> 13.2. It has to: it names the arch used for the default/stable wheel, and leaving it on a version no longer inCUDA_ARCHESwould select a build that is no longer produced.Authored with an AI assistant.
Co-Authored-By: Claude