Skip to content

Support CUDA 13 cuBLAS libraries - #896

Open
jeongseok-meta wants to merge 1 commit into
Genesis-Embodied-AI:mainfrom
jeongseok-meta:support-cublas-13
Open

Support CUDA 13 cuBLAS libraries#896
jeongseok-meta wants to merge 1 commit into
Genesis-Embodied-AI:mainfrom
jeongseok-meta:support-cublas-13

Conversation

@jeongseok-meta

Copy link
Copy Markdown

Why: CUDA 13 provides libcublas.so.13 / cublas64_13.dll, while the runtime loader currently tries only cuBLAS 11, 12, and 10. As a result, Quadrants' optional CUDA linear-algebra paths cannot load cuBLAS from a CUDA 13-only environment. This surfaced while packaging Quadrants 1.3 in conda-forge/staged-recipes#34661.

What: Accept the CUDA 13 cuBLAS SONAME while preserving the existing CUDA 11/12 preference used for PyTorch-compatible environments.

How:

  • CUDA runtime loader -- add version 13 after versions 11 and 12 in CUBLASDriver::load_cublas().
  • Compatibility -- leave the existing version order and all other CUDA library loading unchanged.

Evidence: The identical source patch was built into a conda package and exercised on an NVIDIA RTX 3080 with cuda-version 13.0, cuBLAS 13.1.1, cuSPARSE 12.6.3, and cuSOLVER 12.0.4. A real sparse conjugate-gradient solve completed and matched NumPy; details are recorded in the staged-recipes validation comment.

Test plan:

git diff --check upstream/main...HEAD

Run URL: local only (no run URL emitted)

No public API changes.

@jeongseok-meta
jeongseok-meta marked this pull request as ready for review August 30, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant