Skip to content

Commit 211ad59

Browse files
committed
Added error+instructions for unsupported CUDA 10.0 version #82
1 parent 9d353ca commit 211ad59

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bitsandbytes/cuda_setup/main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ def generate_instructions(self):
6262
make_cmd += ' make cuda110'
6363
elif self.cuda_version_string[:2] == '11' and int(self.cuda_version_string[2]) > 0:
6464
make_cmd += ' make cuda11x'
65+
elif self.cuda_version_string == '100':
66+
self.add_log_entry('CUDA SETUP: CUDA 10.0 not supported. Please use a different CUDA version.')
67+
self.add_log_entry('CUDA SETUP: Before you try again running bitsandbytes, make sure old CUDA 10.0 versions are uninstalled and removed from $LD_LIBRARY_PATH variables.')
68+
return
69+
6570

6671
has_cublaslt = is_cublasLt_compatible(self.cc)
6772
if not has_cublaslt:

0 commit comments

Comments
 (0)