Skip to content

Commit

Permalink
Added error+instructions for unsupported CUDA 10.0 version #82
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDettmers committed Jan 3, 2023
1 parent 9d353ca commit 211ad59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bitsandbytes/cuda_setup/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ def generate_instructions(self):
make_cmd += ' make cuda110'
elif self.cuda_version_string[:2] == '11' and int(self.cuda_version_string[2]) > 0:
make_cmd += ' make cuda11x'
elif self.cuda_version_string == '100':
self.add_log_entry('CUDA SETUP: CUDA 10.0 not supported. Please use a different CUDA version.')
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.')
return


has_cublaslt = is_cublasLt_compatible(self.cc)
if not has_cublaslt:
Expand Down

0 comments on commit 211ad59

Please sign in to comment.