Skip to content

[CD] Bump 13.0 builds to 13.0.3 - #187099

Merged
atalman merged 1 commit into
release/2.13from
cherry-pick-179758-by-pytorch_bot_bot_
Jun 16, 2026
Merged

atalman merged 1 commit into
release/2.13from
cherry-pick-179758-by-pytorch_bot_bot_

Conversation

@pytorchbot

Copy link
Copy Markdown
Collaborator

CUDA 13.0.3 is released which includes the

  1. patch release fix from cublas that fixes the below issue:

Quote from CUBLAS Patch Release notes

Fixed an issue in cublasLtMatmul() that could lead to incorrect results when it ran concurrently with another kernel that used Tensor Memory. This issue affected only algorithms with CUBLASLT_ALGO_CONFIG_ID equal to 66 on GPUs with Compute Capability 10.x and 11.x, and had existed since cuBLAS 12.8. [5807900, 5943783]

  1. nvjitlink is set to a lower bound, rather than a pin, for better compatibility for RAPIDS wheels
    nvcc/nvvm/crt compiler stack are pinned to the same CL for better compatibility. It will pull the latest nvjitlink available rather than the one that is pinned to the released CTK.

Updating the CTK version to 13.0.3 in place of the drop in fix in #178333

Component 13.0.2 13.0.3
CUDA cuBLAS 13.1.0.3 13.1.1.3
CUDA nvsdm 580.95.05 580.126.20

cc @ptrblck @atalman @malfet @nWEIdia @DEKHTIARJonathan

CUDA 13.0.3 is released which includes the

1. patch release fix from cublas that fixes the below issue:

Quote from [CUBLAS Patch Release notes](https://docs.nvidia.com/cuda/cublas-patch-release-notes/)

Fixed an issue in cublasLtMatmul() that could lead to incorrect results when it ran concurrently with another kernel that used Tensor Memory. This issue affected only algorithms with CUBLASLT_ALGO_CONFIG_ID equal to 66 on GPUs with Compute Capability 10.x and 11.x, and had existed since cuBLAS 12.8. [5807900, 5943783]

2. nvjitlink is set to a lower bound, rather than a pin, for better compatibility for RAPIDS wheels
nvcc/nvvm/crt compiler stack are pinned to the same CL for better compatibility. It will pull the latest nvjitlink available rather than the one that is pinned to the released CTK.

Updating the CTK version to 13.0.3 in place of the drop in fix in #178333

Component | 13.0.2 | 13.0.3
-- | -- | --
CUDA cuBLAS | 13.1.0.3 | 13.1.1.3
CUDA nvsdm | 580.95.05 | 580.126.20

Pull Request resolved: #179758
Approved by: https://github.com/malfet, https://github.com/atalman

(cherry picked from commit 99fd1c8)
@pytorchbot
pytorchbot requested a review from a team as a code owner June 11, 2026 22:53
@pytorch-bot

pytorch-bot Bot commented Jun 11, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit db575eb with merge base 636bc91 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@atalman
atalman merged commit 1c965a7 into release/2.13 Jun 16, 2026
139 checks passed
@tinglvv

tinglvv commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Why this PR should be safe to land:

  1. cublas patch fix is already in existing 13.0 builds as a patch "nvidia-cublas>=13.1.0.3,<=13.1.1.3; platform_system == 'Linux' | ".

So there's no new change from this PR, just removing the previous WAR, no extra test plan needed.

  1. nvjitlink is set to a lower bound, rather than a pin, for better compatibility for RAPIDS wheels -->
    Why is safe: see explanation in CUDA 12 wheels: relax nvidia-nvjitlink-cu12 runtime dependency #186958
Is this safe?
Yes. nvJitLink's docs make explicit minor version compatibility guarantees.

The nvJitLink library is compatible across minor versions in a release, but may not be compatible across major versions. The library version itself must be >= the maximum version of the inputs, and the shared library version must be >= the version that was linked with.

https://docs.nvidia.com/cuda/nvjitlink/index.html#compatibility

For the test plan:
nvjitlink is a dependency for cusparse (reference: Starting with CUDA 12.0, cuSPARSE will depend on nvJitLink library for JIT (Just-In-Time) LTO (Link-Time-Optimization) capabilities(https://docs.nvidia.com/cuda/cusparse/#cusparsespmmop)).
So for the test plan, we will test with the final RC, that cusparse actually works after import:

import torch
# cusparse is used under the hood for sparse matmul
a = torch.rand(100, 100).cuda().to_sparse()
b = torch.rand(100, 100).cuda()
out = torch.sparse.mm(a, b)  # would segfault or raise if cusparse/nvjitlink broken
assert out.shape == (100, 100)

atalman added a commit to atalman/vllm that referenced this pull request Jul 4, 2026
torch 2.13.0+cu130 (test channel) requires `cuda-toolkit[...]==13.0.3` per its
wheel metadata, following pytorch/pytorch#187099 which bumped the CUDA 13.0
builds from 13.0.2 to 13.0.3. The locked CUDA libraries in
requirements/test/cuda.txt were still at the 13.0.2 set, which conflicts with
the torch pin.

Advance the two versions that changed between 13.0.2 and 13.0.3:
- cuda-toolkit: 13.0.2 -> 13.0.3
- nvidia-cublas: 13.1.0.3 -> 13.1.1.3 (cuBLAS patch release bundled in 13.0.3)

All other cuda-toolkit components (nvrtc, cudart, cupti, cufft, curand,
cusolver, cusparse, cufile, nvjitlink, nvtx) are unchanged between 13.0.2 and
13.0.3, and cuda-bindings is already pinned to 13.0.3.

This change was authored with the assistance of an AI coding assistant (Claude Code).
@github-actions
github-actions Bot deleted the cherry-pick-179758-by-pytorch_bot_bot_ branch July 23, 2026 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants