Skip to content

Bugfix: Load correct nocublaslt library variant when BNB_CUDA_VERSION override is set #1318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

matthewdouglas
Copy link
Member

Fixes #1312

When using BNB_CUDA_VERSION in an environment with a compute capability < 7.5, the name of the library that we attempted to load would be incorrect.

Before:
BNB_CUDA_VERSION=125 tries to load libbitsandbytes_cuda125_nocublaslt125.so

After:
BNB_CUDA_VERSION=125 correctly loads libbitsandbytes_cuda125_nocublaslt.so

@matthewdouglas matthewdouglas added Bug Something isn't working CUDA Setup labels Aug 14, 2024
@Titus-von-Koeller Titus-von-Koeller merged commit a4875fc into main Aug 14, 2024
54 checks passed
@Titus-von-Koeller
Copy link
Collaborator

cool, good work!

matthewdouglas added a commit to matthewdouglas/bitsandbytes that referenced this pull request Oct 28, 2024
@matthewdouglas matthewdouglas deleted the fix/1312 branch May 23, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working CUDA Setup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libbitsandbytes_cpu.so,libbitsandbytes_cuda124_nocublaslt124.so
2 participants