Skip to content

[CD] Update to CUDA 13.2.1 for binaries - #180288

Closed
tinglvv wants to merge 1 commit into
mainfrom
tingl-update-cu1321
Closed

tinglvv wants to merge 1 commit into
mainfrom
tingl-update-cu1321

Conversation

@tinglvv

@tinglvv tinglvv commented Apr 13, 2026 •

Copy link
Copy Markdown
Collaborator

CUDA 13.2.1 is released today, prepare PR while we wait for the package to be available on pypi

Improvements in 13.2.1:
Cublas — CUDA 13.2.1
New data type support: NVFP4 inputs + bias epilogues now work on Blackwell (CC 10.x/11.0). BF16/FP16/FP8 inputs now work on Hopper, with FP8 supporting both tensorwide and block scaling (VEC128, BLK128x128).
Performance: Up to 20% faster Grouped GEMM on Blackwell for large problem sizes — directly benefits MoE model inference.
Bug fix: Fixed an issue in cublasLtMatmulAlgoGetHeuristic() could return zero algorithm candidates for Grouped GEMM on Blackwell, making it unusable in those cases. Now fixed. [CUB-9657]

cc @ptrblck @nWEIdia @eqy @atalman @malfet

@pytorch-bot pytorch-bot Bot added the release notes: releng release notes category label Apr 13, 2026
@pytorch-bot

pytorch-bot Bot commented Apr 13, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 2 New Failures, 3 Pending

As of commit cd84500 with merge base f926d21 (image):

NEW FAILURES - The following jobs have failed:

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

@tinglvv
tinglvv marked this pull request as ready for review April 14, 2026 16:11
@tinglvv
tinglvv requested review from a team and jeffdaily as code owners April 14, 2026 16:11
@tinglvv tinglvv added the ciflow/binaries Trigger all binary build and upload jobs on the PR label Apr 14, 2026
@atalman

atalman commented Apr 14, 2026

Copy link
Copy Markdown
Collaborator

@pytorchmergebot merge -f "lint and reuqired binary builds are green"

@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

@tinglvv

tinglvv commented Apr 14, 2026

Copy link
Copy Markdown
Collaborator Author

@Skylion007 Regarding the cuda-bindings update, we don't need to update cuda-bindings for the CTK 13.2.1 bump. Per the compatibility docs, cuda-bindings 13.x works with CTK 13.y and driver 13.z for arbitrary x, y, z, so the existing range >=13.0.3,<14 remains valid.

The CTK 13.2.1 update is primarily for the cuBLAS fix, and cuda-bindings doesn't cover cuBLAS bindings — that's handled by nvmath-python via dynamic loading, so no version change is needed there either.

One new Python-side usage of cuda.bindings is in #179768 (torch/cuda/_graph_annotations.py), which imports cuda.bindings.runtime for CUDA graph kernel annotations. However, that import is wrapped in a try/except and degrades gracefully if unavailable, so it doesn't require pinning to a specific cuda-bindings minor version.

BoyuanFeng pushed a commit that referenced this pull request Apr 15, 2026
CUDA 13.2.1 is released today, prepare PR while we wait for the package to be available on pypi

Improvements in 13.2.1:
**Cublas** — CUDA 13.2.1
New data type support: NVFP4 inputs + bias epilogues now work on Blackwell (CC 10.x/11.0). BF16/FP16/FP8 inputs now work on Hopper, with FP8 supporting both tensorwide and block scaling (VEC128, BLK128x128).
Performance: Up to 20% faster Grouped GEMM on Blackwell for large problem sizes — directly benefits MoE model inference.
Bug fix: Fixed an issue in cublasLtMatmulAlgoGetHeuristic() could return zero algorithm candidates for Grouped GEMM on Blackwell, making it unusable in those cases. Now fixed. [CUB-9657]

Pull Request resolved: #180288
Approved by: https://github.com/Skylion007
pytorchmergebot pushed a commit to scotts/pytorch that referenced this pull request Apr 15, 2026
CUDA 13.2.1 is released today, prepare PR while we wait for the package to be available on pypi

Improvements in 13.2.1:
**Cublas** — CUDA 13.2.1
New data type support: NVFP4 inputs + bias epilogues now work on Blackwell (CC 10.x/11.0). BF16/FP16/FP8 inputs now work on Hopper, with FP8 supporting both tensorwide and block scaling (VEC128, BLK128x128).
Performance: Up to 20% faster Grouped GEMM on Blackwell for large problem sizes — directly benefits MoE model inference.
Bug fix: Fixed an issue in cublasLtMatmulAlgoGetHeuristic() could return zero algorithm candidates for Grouped GEMM on Blackwell, making it unusable in those cases. Now fixed. [CUB-9657]

Pull Request resolved: pytorch#180288
Approved by: https://github.com/Skylion007
@github-actions
github-actions Bot deleted the tingl-update-cu1321 branch May 15, 2026 02:26
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
CUDA 13.2.1 is released today, prepare PR while we wait for the package to be available on pypi

Improvements in 13.2.1:
**Cublas** — CUDA 13.2.1
New data type support: NVFP4 inputs + bias epilogues now work on Blackwell (CC 10.x/11.0). BF16/FP16/FP8 inputs now work on Hopper, with FP8 supporting both tensorwide and block scaling (VEC128, BLK128x128).
Performance: Up to 20% faster Grouped GEMM on Blackwell for large problem sizes — directly benefits MoE model inference.
Bug fix: Fixed an issue in cublasLtMatmulAlgoGetHeuristic() could return zero algorithm candidates for Grouped GEMM on Blackwell, making it unusable in those cases. Now fixed. [CUB-9657]

Pull Request resolved: pytorch#180288
Approved by: https://github.com/Skylion007
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
CUDA 13.2.1 is released today, prepare PR while we wait for the package to be available on pypi

Improvements in 13.2.1:
**Cublas** — CUDA 13.2.1
New data type support: NVFP4 inputs + bias epilogues now work on Blackwell (CC 10.x/11.0). BF16/FP16/FP8 inputs now work on Hopper, with FP8 supporting both tensorwide and block scaling (VEC128, BLK128x128).
Performance: Up to 20% faster Grouped GEMM on Blackwell for large problem sizes — directly benefits MoE model inference.
Bug fix: Fixed an issue in cublasLtMatmulAlgoGetHeuristic() could return zero algorithm candidates for Grouped GEMM on Blackwell, making it unusable in those cases. Now fixed. [CUB-9657]

Pull Request resolved: pytorch#180288
Approved by: https://github.com/Skylion007
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 open source release notes: releng release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants