summaryrefslogtreecommitdiff
path: root/bitsandbytes
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-12-21 12:36:48 -0500
committerBen Sima <ben@bsima.me>2022-12-21 12:36:48 -0500
commit31ef751bea48eeee2e0e95aca79df8e59b4c25c4 (patch)
tree6e12ba3329d3cc1d167d82cd35b8d45be19ce9b0 /bitsandbytes
parentc059bd284832d09bc51cf82c377642b26a48ef28 (diff)
Log binary_path when CUDA setup failsmain
This way we can debug the build paths if it fails.
Diffstat (limited to 'bitsandbytes')
-rw-r--r--bitsandbytes/cextension.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitsandbytes/cextension.py b/bitsandbytes/cextension.py
index 264e899..afad6b8 100644
--- a/bitsandbytes/cextension.py
+++ b/bitsandbytes/cextension.py
@@ -73,6 +73,7 @@ class CUDASetup(object):
try:
if not binary_path.exists():
self.add_log_entry(f"CUDA SETUP: Required library version not found: {binary_name}. Maybe you need to compile it from source?")
+ self.add_log_entry(f"CUDA SETUP: looked in {binary_path}")
legacy_binary_name = "libbitsandbytes.so"
self.add_log_entry(f"CUDA SETUP: Defaulting to {legacy_binary_name}...")
binary_path = package_dir / legacy_binary_name