Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/196249
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 74 PendingAs of commit 3f8cef0 with merge base 938afb1 ( GREEN LIGHT - PR approved to be merged without human review:
reason: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchmergebot merge -f "lint is green and GREEN LIGHT - PR approved to be merged without human review" |
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 |
Please see: https://dev-discuss.pytorch.org/t/notice-cuda-12-6-wheels-will-no-longer-be-published-from-pytorch-2-15-drops-maxwell-pascal-volta/3432 Pull Request resolved: pytorch#196249 Approved by: https://github.com/pytorchgreenlight
## 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.
…203260) Removes CUDA 12.6 and 13.0 from the nightly binary build matrix, the docker release matrix, and the builder image workflows. 12.6 was dropped from CUDA_ARCHES in #196249, but its entries stayed in CUDA_ARCHES_FULL_VERSION and CUDA_ARCHES_CUDNN_VERSION. Because generate_docker_release_matrix.py iterates CUDA_ARCHES_FULL_VERSION, the docker release workflow kept emitting 12.6.3 images. 13.0 was held on nightly for vLLM's cu130 lane (pytorch/test-infra#8989) and is no longer needed. Review order: generate_binary_build_matrix.py first; the two generated-*-nightly.yml diffs are the output of generate_ci_workflows.py and only delete the cu130 jobs; then build-manywheel-images.yml, build-almalinux-images.yml, build-magma-linux.yml and .ci/magma/Makefile. Not changed: .ci/docker (editing it would force a CI image rebuild) and the flash-attention wheel workflows, which still reference cuda12.6/cuda13.0. Test Plan: ``` python3 .github/scripts/generate_docker_release_matrix.py python3 .github/scripts/generate_ci_workflows.py ``` The docker matrix now emits only 13.2, 13.4 and cpu; regenerating workflows produces only the committed diff. lintrunner (RUFF, PYFMT, NEWLINE, SPACES, TABS, GHA, WORKFLOWSYNC) passes; ACTIONLINT could not run (binary missing). Agent details: authored with an AI assistant (Claude Code). Pull Request resolved: #203260 Approved by: https://github.com/huydhn
…ytorch#203260) Removes CUDA 12.6 and 13.0 from the nightly binary build matrix, the docker release matrix, and the builder image workflows. 12.6 was dropped from CUDA_ARCHES in pytorch#196249, but its entries stayed in CUDA_ARCHES_FULL_VERSION and CUDA_ARCHES_CUDNN_VERSION. Because generate_docker_release_matrix.py iterates CUDA_ARCHES_FULL_VERSION, the docker release workflow kept emitting 12.6.3 images. 13.0 was held on nightly for vLLM's cu130 lane (pytorch/test-infra#8989) and is no longer needed. Review order: generate_binary_build_matrix.py first; the two generated-*-nightly.yml diffs are the output of generate_ci_workflows.py and only delete the cu130 jobs; then build-manywheel-images.yml, build-almalinux-images.yml, build-magma-linux.yml and .ci/magma/Makefile. Not changed: .ci/docker (editing it would force a CI image rebuild) and the flash-attention wheel workflows, which still reference cuda12.6/cuda13.0. Test Plan: ``` python3 .github/scripts/generate_docker_release_matrix.py python3 .github/scripts/generate_ci_workflows.py ``` The docker matrix now emits only 13.2, 13.4 and cpu; regenerating workflows produces only the committed diff. lintrunner (RUFF, PYFMT, NEWLINE, SPACES, TABS, GHA, WORKFLOWSYNC) passes; ACTIONLINT could not run (binary missing). Agent details: authored with an AI assistant (Claude Code). Pull Request resolved: pytorch#203260 Approved by: https://github.com/huydhn
…ytorch#203260) Removes CUDA 12.6 and 13.0 from the nightly binary build matrix, the docker release matrix, and the builder image workflows. 12.6 was dropped from CUDA_ARCHES in pytorch#196249, but its entries stayed in CUDA_ARCHES_FULL_VERSION and CUDA_ARCHES_CUDNN_VERSION. Because generate_docker_release_matrix.py iterates CUDA_ARCHES_FULL_VERSION, the docker release workflow kept emitting 12.6.3 images. 13.0 was held on nightly for vLLM's cu130 lane (pytorch/test-infra#8989) and is no longer needed. Review order: generate_binary_build_matrix.py first; the two generated-*-nightly.yml diffs are the output of generate_ci_workflows.py and only delete the cu130 jobs; then build-manywheel-images.yml, build-almalinux-images.yml, build-magma-linux.yml and .ci/magma/Makefile. Not changed: .ci/docker (editing it would force a CI image rebuild) and the flash-attention wheel workflows, which still reference cuda12.6/cuda13.0. Test Plan: ``` python3 .github/scripts/generate_docker_release_matrix.py python3 .github/scripts/generate_ci_workflows.py ``` The docker matrix now emits only 13.2, 13.4 and cpu; regenerating workflows produces only the committed diff. lintrunner (RUFF, PYFMT, NEWLINE, SPACES, TABS, GHA, WORKFLOWSYNC) passes; ACTIONLINT could not run (binary missing). Agent details: authored with an AI assistant (Claude Code). Pull Request resolved: pytorch#203260 Approved by: https://github.com/huydhn
Please see: https://dev-discuss.pytorch.org/t/notice-cuda-12-6-wheels-will-no-longer-be-published-from-pytorch-2-15-drops-maxwell-pascal-volta/3432