summaryrefslogtreecommitdiff
path: root/bitsandbytes
diff options
context:
space:
mode:
authorTom Aarsen <Cubiegamedev@gmail.com>2022-10-26 09:43:57 +0200
committerTom Aarsen <Cubiegamedev@gmail.com>2022-10-26 09:43:57 +0200
commit4faf6cb7e983a7ceb32b6329a597e26748dc3977 (patch)
tree087a226279232c26a74b14ac5972090517301646 /bitsandbytes
parentc584482f1f13e073dac714815f2d439fd66699d1 (diff)
Replace seemingly incorrect use of CUDA_RUNTIME_LIB
Diffstat (limited to 'bitsandbytes')
-rw-r--r--bitsandbytes/cuda_setup/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitsandbytes/cuda_setup/main.py b/bitsandbytes/cuda_setup/main.py
index 8a5e25c..8fdaec0 100644
--- a/bitsandbytes/cuda_setup/main.py
+++ b/bitsandbytes/cuda_setup/main.py
@@ -54,7 +54,7 @@ def get_cuda_lib_handle():
try:
cuda = ctypes.CDLL("libcuda.so")
except OSError:
- CUDA_RUNTIME_LIB.get_instance().add_log_entry('CUDA SETUP: WARNING! libcuda.so not found! Do you have a CUDA driver installed? If you are on a cluster, make sure you are on a CUDA machine!')
+ CUDASetup.get_instance().add_log_entry('CUDA SETUP: WARNING! libcuda.so not found! Do you have a CUDA driver installed? If you are on a cluster, make sure you are on a CUDA machine!')
return None
check_cuda_result(cuda, cuda.cuInit(0))