summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitus von Koeller <titus@vonkoeller.com>2022-08-01 03:22:44 -0700
committerTitus von Koeller <titus@vonkoeller.com>2022-08-01 03:22:44 -0700
commit597a8521b29e90958c31e47421016494da998648 (patch)
treeef8399c958632edbb9e405ddffd2f8b53cd2a9b3
parent57fa64628f78b2f19fa31e94a9a8c59e3727888b (diff)
fix typo
-rw-r--r--bitsandbytes/cuda_setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitsandbytes/cuda_setup.py b/bitsandbytes/cuda_setup.py
index 2fb5049..5ed0c89 100644
--- a/bitsandbytes/cuda_setup.py
+++ b/bitsandbytes/cuda_setup.py
@@ -37,7 +37,7 @@ def check_cuda_result(cuda, result_val):
if result_val != 0:
cuda.cuGetErrorString(result_val, ctypes.byref(error_str))
print(f"Count not initialize CUDA - failure!")
- raise Exception('CUDA excepion!')
+ raise Exception('CUDA exception!')
return result_val
# taken from https://gist.github.com/f0k/63a664160d016a491b2cbea15913d549