We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 336e246 + ed17aa9 commit d9112dcCopy full SHA for d9112dc
bitsandbytes/cuda_setup/main.py
@@ -368,7 +368,13 @@ def evaluate_cuda_setup():
368
cuda_setup.add_log_entry(f'CUDA SETUP: Detected CUDA version {cuda_version_string}')
369
370
# 7.5 is the minimum CC vor cublaslt
371
- has_cublaslt = cc in ["7.5", "8.0", "8.6"]
+ has_cublaslt = False
372
+ if cc is not None:
373
+ cc_major, cc_minor = cc.split('.')
374
+ if int(cc_major) < 7 or (int(cc_major) == 7 and int(cc_minor) < 5):
375
+ cuda_setup.add_log_entry("WARNING: Compute capability < 7.5 detected! Proceeding to load CPU-only library...", is_warning=True)
376
+ else:
377
+ has_cublaslt = True
378
379
# TODO:
380
# (1) CUDA missing cases (no CUDA installed by CUDA driver (nvidia-smi accessible)
0 commit comments