Skip to content

Add cublas drop-in fix for 13.0 - #178333

Closed
tinglvv wants to merge 11 commits into
pytorch:mainfrom
tinglvv:cublas-dropin
Closed

tinglvv wants to merge 11 commits into
pytorch:mainfrom
tinglvv:cublas-dropin

Conversation

@tinglvv

@tinglvv tinglvv commented Mar 24, 2026 •

Copy link
Copy Markdown
Collaborator

cublas drop-in fix for TMEM issue may result in silent data corruption on Blackwell, cuBLAS may return silent wrong results/NaNs under concurrent workloads (overlapping streams) when TMEM is used on the same SM
Cublas 13.1.0.3 for 13.0 builds

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]

cc @ptrblck @nWEIdia @eqy @atalman @malfet

@tinglvv
tinglvv requested a review from a team as a code owner March 24, 2026 21:42
@pytorch-bot

pytorch-bot Bot commented Mar 24, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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:

⏳ No Failures, 224 Pending

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

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

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Mar 24, 2026
@tinglvv tinglvv added the ciflow/binaries Trigger all binary build and upload jobs on the PR label Mar 24, 2026
@zou3519 zou3519 added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Mar 25, 2026
Skylion007
Skylion007 previously approved these changes Mar 25, 2026
@eqy

eqy commented Mar 25, 2026

Copy link
Copy Markdown
Collaborator

@pytorchmergebot label ciflow/trunk ciflow/h100 ciflow/b200

@pytorch-bot pytorch-bot Bot added ciflow/b200 ciflow/h100 ciflow/trunk Trigger trunk jobs on your pull request labels Mar 25, 2026
"13.0": (
"cuda-toolkit[nvrtc,cudart,cupti,cufft,curand,cusolver,cusparse,cublas,cufile,nvjitlink,nvtx]==13.0.2; platform_system == 'Linux' | " # noqa: B950
"cuda-toolkit[nvrtc,cudart,cupti,cufft,curand,cusolver,cusparse,cufile,nvjitlink,nvtx]==13.0.2; platform_system == 'Linux' | " # noqa: B950
"nvidia-cublas==13.1.1.3; platform_system == 'Linux' | "

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.

👋🏻 sorry for the random comment... I'm James, I work on RAPIDS (https://github.com/rapidsai). Coming here from an offline conversation with @tinglvv to note ... separating out nvidia-cublas like this will make these wheels uninstallable alongside any version of cuda-toolkit[cublas]

  1. cuda-toolkit wheels contain strict pins, e.g. cuda-toolkit[cublas]==13.0.2 requires nvidia-cublas== 13.1.0.3.*
  2. there is no cuda-toolkit today that allows nvidia-cublas==13.1.1.3
  3. even if one became available, it'd conflict with requirement cuda-toolkit==13.0.2

Some projects these torch wheels would no longer be installable alongside:

... unless they all also split their nvidia-cublas dependency out separately like this.

This PR is the best solution available today if you want to guarantee that these newer nvidia-cublas wheels are always used, but that comes at the cost of not being installable alongside those projects I listed above (and probably more).

Listing some alternatives, though I understand they may be more permissive than you're comfortable with at this time:

# only allow the nvidia-cublas from CTK 13.0.2 or the new one with this fix
cuda-toolkit[nvrtc,cudart,cupti,cufft,curand,cusolver,cusparse,cufile,nvjitlink,nvtx]==13.0.2
nvidia-cublas>=13.1.0.3,<=13.1.1.3

# only allow nvidia-cublas newer than the one from CTK 13.0.2
cuda-toolkit[nvrtc,cudart,cupti,cufft,curand,cusolver,cusparse,cufile,nvjitlink,nvtx]==13.0.2
nvidia-cublas==13.1.*,>=13.1.0.3

Thanks for listening 😊

@malfet malfet left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should never introduce any --extra-index-url changes into the codebase
(The rest looks fine though)

Comment thread .ci/pytorch/binary_linux_test.sh Resolved
@malfet
malfet dismissed Skylion007’s stale review March 26, 2026 02:22

Let's indeed figure out our story. Also, this is really bad for 2.11 release I guess

@atalman

atalman commented Mar 27, 2026

Copy link
Copy Markdown
Collaborator

Hi @tinglvv is there an issue related to: cublas drop-in fix for TMEM issue may result in silent data corruption on Blackwel ? Could you please post a link or some document describing the issue ?

@ptrblck

ptrblck commented Mar 30, 2026

Copy link
Copy Markdown
Collaborator

@atalman from the cuBLAS 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]

@tinglvv

tinglvv commented Apr 1, 2026 •

Copy link
Copy Markdown
Collaborator Author

The only remaining error exists on 12.8 aarch64 builds: https://github.com/pytorch/pytorch/actions/runs/23821339236/job/69445967627

 × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [57 lines of output]
      INFO:wheel-stub:Testing wheel nvidia_cublas_cu12-12.8.5.5-py3-none-manylinux_2_27_aarch64.whl against tag py3-none-manylinux_2_27_aarch64
      INFO:wheel-stub:Downloading wheel nvidia_cublas_cu12-12.8.5.5-py3-none-manylinux_2_27_aarch64.whl
        File "/opt/_internal/cpython-3.11.15/lib/python3.11/site-packages/wheel_stub/wheel.py", line 249, in download_wheel
          return download_manual(wheel_directory, distribution, version, config)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/opt/_internal/cpython-3.11.15/lib/python3.11/site-packages/wheel_stub/wheel.py", line 213, in download_manual
          file_hash.hexdigest() == hash
      Traceback (most recent call last):
        File "/opt/_internal/cpython-3.11.15/lib/python3.11/site-packages/wheel_stub/wheel.py", line 249, in download_wheel
          return download_manual(wheel_directory, distribution, version, config)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/opt/_internal/cpython-3.11.15/lib/python3.11/site-packages/wheel_stub/wheel.py", line 213, in download_manual
          file_hash.hexdigest() == hash
      AssertionError: Downloaded wheel and sha256 don't match! 5ff43196cb2ef068cfd989b40bdbaf79ac488a45b75d8a1f4a2bb463a68560d6, 48a1a066ce37a2a72056722fedb5301ee66af58c5dc451c2ec26bcc94053fa4c

This seems to be an issue with the actual wheel that wheel-stub is downloading: inside the nvidia-cublas-cu12==12.8.5.5 source tarball is trying to download the actual pre-built wheel from NVIDIA's servers, but the SHA256 hash of the downloaded file doesn't match what's embedded in the tarball metadata.

However, the x86 12.8 builds are passing.

@tinglvv

tinglvv commented Apr 1, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot rebase

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully rebased cublas-dropin onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout cublas-dropin && git pull --rebase)

@tinglvv

tinglvv commented Apr 1, 2026

Copy link
Copy Markdown
Collaborator Author

Latest failures look to be flaky, failed at "Calculate Docker Image" step, retrigger.

@tinglvv

tinglvv commented Apr 1, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot rebase

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully rebased cublas-dropin onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout cublas-dropin && git pull --rebase)

@tinglvv

tinglvv commented Apr 1, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot rebase -b viable/strict

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Tried to rebase and push PR #178333, but it was already up to date. Try rebasing against main by issuing:
@pytorchbot rebase -b main

@atalman
atalman self-requested a review April 8, 2026 21:36
@atalman atalman changed the title Add cublas drop-in fix for 13.0 and 12.8 builds Add cublas drop-in fix for 13.0 Apr 8, 2026
@tinglvv

tinglvv commented Apr 9, 2026 •

Copy link
Copy Markdown
Collaborator Author

The one pending failure is https://github.com/pytorch/pytorch/actions/runs/24153748765/job/70487740316

0.642 Segmentation fault (core dumped)

This should be infra issue as this job passed in previous runs. Retriggering the job.

"13.0": (
"cuda-toolkit[nvrtc,cudart,cupti,cufft,curand,cusolver,cusparse,cublas,cufile,nvjitlink,nvtx]==13.0.2; platform_system == 'Linux' | " # noqa: B950
"cuda-toolkit[nvrtc,cudart,cupti,cufft,curand,cusolver,cusparse,cufile,nvjitlink,nvtx]==13.0.2; platform_system == 'Linux' | " # noqa: B950
"nvidia-cublas>=13.1.0.3,<=13.1.1.3; platform_system == 'Linux' | "

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"nvidia-cublas>=13.1.0.3,<=13.1.1.3; platform_system == 'Linux' | "
"nvidia-cublas==13.1.1.3; platform_system == 'Linux' | "

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to do the relaxed range as requested by the RAPIDS team here - #178333 (comment).

Quote "separating out nvidia-cublas like this will make these wheels uninstallable alongside any version of cuda-toolkit[cublas]".

A quick explanation here:
cuda-toolkit==13.0.2 is a meta-package. When installed with the cublas extra (cuda-toolkit[cublas]==13.0.2), it declares a dependency on nvidia-cublas==13.1.0.3 — the cublas version that shipped with CUDA toolkit 13.0.2. If we pin it to a higher version, any package that depends on cuda-toolkit[cublas]==13.0.2 (cuGraph, cuML, cuVS, RAFT, etc.) would conflict with torch which requires a higher cublas package.

Example:
If exact pin ==13.1.1.3 , breaks co-installation:
torch requires:           nvidia-cublas==13.1.1.3
cuda-toolkit[cublas]==13.0.2 requires:  nvidia-cublas==13.1.0.3
pip can only install ONE version → CONFLICT → uninstallable

After relaxing, >=13.1.0.3,<=13.1.1.3 :
torch requires:           nvidia-cublas>=13.1.0.3,<=13.1.1.3
cuda-toolkit[cublas]==13.0.2 requires:  nvidia-cublas==13.1.0.3
pip picks 13.1.0.3 → satisfies BOTH → no conflict

Summary:
When torch is installed alone, pip picks 13.1.1.3 (latest in range, gets the bugfix). When installed alongside cuGraph/cuML/etc., pip resolves to 13.1.0.3 (satisfies both constraints, misses the bugfix but at least everything installs).

]


# WARNING: For CUDA 12.8 and 13.0, cublas is pinned to a version range rather

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove CUDA 12.8 mention. These builds are deprectaed

@atalman

atalman commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

@pytorchmergebot merge -f "lint is green, binary builds where already tested"

@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

@atalman atalman added this to the 2.12.0 milestone Apr 10, 2026
pytorchmergebot pushed a commit that referenced this pull request Jun 11, 2026
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
jemitche1 pushed a commit to jemitche1/pytorch that referenced this pull request Jun 13, 2026
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 pytorch#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: pytorch#179758
Approved by: https://github.com/malfet, https://github.com/atalman
atalman pushed a commit that referenced this pull request Jun 16, 2026
[CD] Bump 13.0 builds to 13.0.3 (#179758)

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)

Co-authored-by: Ting Lu <[email protected]>
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
…)"

This reverts commit cb81f45.

Reverted pytorch#178333 on behalf of https://github.com/malfet due to Install rules in binary test should remain simple and mimick install instructions ([comment](pytorch#178333 (comment)))
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
cublas drop-in fix for TMEM issue may result in silent data corruption on Blackwell, cuBLAS may return silent wrong results/NaNs under concurrent workloads (overlapping streams) when TMEM is used on the same SM
[Cublas 13.1.0.3](https://pypi.org/project/nvidia-cublas/13.1.0.3/) for 13.0 builds

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]

Pull Request resolved: pytorch#178333
Approved by: https://github.com/eqy, https://github.com/atalman

Co-authored-by: Andrey Talman <[email protected]>
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
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 pytorch#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: pytorch#179758
Approved by: https://github.com/malfet, https://github.com/atalman
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
…)"

This reverts commit cb81f45.

Reverted pytorch#178333 on behalf of https://github.com/malfet due to Install rules in binary test should remain simple and mimick install instructions ([comment](pytorch#178333 (comment)))
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
cublas drop-in fix for TMEM issue may result in silent data corruption on Blackwell, cuBLAS may return silent wrong results/NaNs under concurrent workloads (overlapping streams) when TMEM is used on the same SM
[Cublas 13.1.0.3](https://pypi.org/project/nvidia-cublas/13.1.0.3/) for 13.0 builds

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]

Pull Request resolved: pytorch#178333
Approved by: https://github.com/eqy, https://github.com/atalman

Co-authored-by: Andrey Talman <[email protected]>
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
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 pytorch#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: pytorch#179758
Approved by: https://github.com/malfet, https://github.com/atalman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td Do not run TD on this PR ciflow/b200 ciflow/binaries Trigger all binary build and upload jobs on the PR ciflow/h100 ciflow/trunk Trigger trunk jobs on your pull request Merged open source Reverted topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.