Skip to content

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

Merged
Titus-von-Koeller merged 1 commit intomainfrom
fix/1312
Aug 14, 2024
Merged

Bugfix: Load correct nocublaslt library variant when BNB_CUDA_VERSION override is set#1318
Titus-von-Koeller merged 1 commit intomainfrom
fix/1312

Conversation

@matthewdouglas
Copy link
Copy Markdown
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
@Titus-von-Koeller
Copy link
Copy Markdown
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