From 211ad594df912dc29a1a2a5909226cad23eca2c6 Mon Sep 17 00:00:00 2001 From: Tim Dettmers Date: Tue, 3 Jan 2023 06:07:35 -0800 Subject: [PATCH] Added error+instructions for unsupported CUDA 10.0 version #82 --- bitsandbytes/cuda_setup/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bitsandbytes/cuda_setup/main.py b/bitsandbytes/cuda_setup/main.py index 5f59318..e05e394 100644 --- a/bitsandbytes/cuda_setup/main.py +++ b/bitsandbytes/cuda_setup/main.py @@ -62,6 +62,11 @@ class CUDASetup: 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: