Skip to content

Drop CUDA 12.1 builds and legacy CUDA builds on Linux aarch64 - #2170

Merged
matthewdouglas merged 1 commit into
mainfrom
ci/drop-cu121-aarch64-legacy
Dec 3, 2026
Merged

matthewdouglas merged 1 commit into
mainfrom
ci/drop-cu121-aarch64-legacy

Conversation

@matthewdouglas

Copy link
Copy Markdown
Member

Trims the CUDA libraries shipped in the wheels:

  • CUDA 12.1: dropped on all platforms. PyTorch only published cu121 wheels for 2.4 and 2.5. A 12.1 runtime now loads the 12.4 build through the existing same-major fallback.
  • CUDA 11.8 and 12.4 on Linux aarch64: dropped. PyTorch has never published aarch64 wheels for 11.8, 12.1 or 12.4; aarch64 CUDA wheels start at cu126. These builds have the same targets as the remaining 12.6 build (sm75, sm80, sm90), so no GPUs lose coverage.

Size, measured from the current main wheels:

Wheel Before After
Linux x86-64 54.8 MB ~49.1 MB
Linux aarch64 31.6 MB ~22.9 MB
Windows x86-64 48.6 MB ~43.0 MB
Release total 139.3 MB ~119.3 MB

The installation docs' build table is updated to match. It also fixes the Windows x86-64 11.8–12.6 targets, which were listed as sm50, sm60 but are actually sm60, sm70.

🤖 Generated with Claude Code

Stop building CUDA 12.1 on all platforms, and CUDA 11.8 and 12.4 on
Linux aarch64. PyTorch publishes no aarch64 wheels for these versions,
and the remaining 12.6 build has the same targets. The loader's
same-major fallback covers runtimes that lose an exact match.

Update the build table in the installation docs, and fix the Windows
x86-64 11.8-12.6 targets (sm60, sm70, not sm50, sm60).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@matthewdouglas matthewdouglas added this to the v0.51.0 milestone Dec 3, 2026
@matthewdouglas matthewdouglas added Build CI/CD aarch64 CUDA Issues and PRs related to the CUDA backend, excluding installation/support help. labels Dec 3, 2026
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Pages changed in this PR:

@matthewdouglas
matthewdouglas merged commit 41d5ea6 into main Dec 3, 2026
104 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aarch64 Build CI/CD CUDA Issues and PRs related to the CUDA backend, excluding installation/support help.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant