Skip to content

Revive CUDA 13.0 nightly binary builds - #199520

Closed
atalman wants to merge 1 commit into
mainfrom
restore_cu130_n
Closed

atalman wants to merge 1 commit into
mainfrom
restore_cu130_n

Conversation

@atalman

@atalman atalman commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

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

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.
@pytorch-bot

pytorch-bot Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/199520

Note: Links to docs will display an error until the docs builds have been completed.

⏳ No Failures, 100 Pending

As of commit 6f0b6fb with merge base 34a9e99 (image):
💚 Looks good so far! There are no failures yet. 💚

🟡 GREEN LIGHT - PR requires human review:

  • Never trivial: release and publish plumbing
    • Adds manywheel-cuda-cu130-upload and manywheel-cuda-aarch64-cu130-upload jobs that call _binary-upload.yml with id-token: write and R2 secrets
    • These jobs publish new cu130 nightly wheels, plus a libtorch cu130 build
  • CI and build configuration exclusions
    • Edits .github/scripts/generate_binary_build_matrix.py, which generates the generated-*-binary-manywheel-nightly.yml workflows
    • Adds new CUDA_ARCHES_NO_WINDOWS filtering in generate_wheels_matrix for the Windows arch list
  • Socialization
    • Brings back a published CUDA 13.0 wheel variant with pinned PYTORCH_EXTRA_INSTALL_REQUIREMENTS, so release owners should know it landed

reason: not_trivial
Reviewed commit: 6f0b6fb

Inference job

🐛 Report a wrong verdict

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@atalman
atalman requested a review from a team as a code owner October 2, 2026 16:55
@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Oct 2, 2026

@laithsakka laithsakka 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.

accept to unblock not quite owner of this part

@atalman atalman added the ciflow/binaries Trigger all binary build and upload jobs on the PR label Oct 2, 2026
@atalman

atalman commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchmergebot merge -f "lint and builds are looking ok"

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

shoumikhin added a commit to pytorch/executorch that referenced this pull request Oct 3, 2026
### Summary

ExecuTorch publishes a CUDA wheel for each CUDA version that PyTorch's
build matrix offers. PyTorch is moving off CUDA 13.0. It now keeps 13.0
on its nightly builds only as a temporary hold for other projects, and
its release-candidate builds do not carry it (see
pytorch/test-infra#8989 and pytorch/pytorch#199520).

If ExecuTorch keeps publishing `cu130`, nightlies carry a wheel that no
release gets, and that wheel goes away again when the hold ends. It is
easy to miss when it goes. The wheel filter skips a CUDA version that
the matrix no longer offers, and the run stays green. That is what
happened from Sep 29 to Oct 2, when PyTorch briefly dropped 13.0 and no
`cu130` wheel was built.

This change publishes CUDA 13.2 and 13.4 only:

- `filter_cuda_matrix.py`: remove `cu130` from the published list. The
single row built for a pull request moves from `cu130` to `cu132`.
- `test_filter_cuda_matrix.py`: update the pinned published list.
- Docs: remove the `cu130` row from the install table and use `cu132` in
the examples. A machine on CUDA 13.0 can use the `cu132` wheel, because
CUDA minor versions are compatible.

Not changed: `install_utils.py` (it still accepts a CUDA 13.0 toolkit
for source builds), the GPU architecture table, and the CI jobs that run
on a CUDA 13.0 image. None of those decide which wheels get published.

### Test plan

- `python .ci/scripts/tests/test_filter_cuda_matrix.py`: 26 tests pass.
With the original filter, the two tests that pin the published list
fail.
- Ran the shared matrix generator for Linux x86_64 and aarch64 on the
nightly and test channels and for a pull request, then fed its output
through the filter. Nightly goes from 15 rows to 10 (`cu132` and
`cu134`, five Python versions each). The test channel stays at 10. The
pull request row is `cu132`.
- `black` and `flake8` give the same results as on main.
cyyever pushed a commit to BakeLab/pytorch that referenced this pull request Oct 11, 2026
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/binaries Trigger all binary build and upload jobs on the PR Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants