File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 18
18
CUDASetup .get_instance ().generate_instructions ()
19
19
CUDASetup .get_instance ().print_log_stack ()
20
20
raise RuntimeError ('''
21
- CUDA Setup failed despite GPU being available. Inspect the CUDA SETUP outputs above to fix your environment!
22
- If you cannot find any issues and suspect a bug, please open an issue with detals about your environment:
23
- https://github.com/TimDettmers/bitsandbytes/issues''' )
21
+ CUDA Setup failed despite GPU being available. Please run the following command to get more information:
22
+
23
+ python -m bitsandbytes
24
+
25
+ Inspect the output of the command and see if you can locate CUDA libraries. You might need to add them
26
+ to your LD_LIBRARY_PATH. If you suspect a bug, please take the information from python -m bitsandbytes
27
+ and open an issue at: https://github.com/TimDettmers/bitsandbytes/issues''' )
24
28
lib .cadam32bit_g32
25
29
lib .get_context .restype = ct .c_void_p
26
30
lib .get_cusparse .restype = ct .c_void_p
27
31
COMPILED_WITH_CUDA = True
28
32
except AttributeError :
29
33
warn ("The installed version of bitsandbytes was compiled without GPU support. "
30
- "8-bit optimizers and GPU quantization are unavailable." )
34
+ "8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable." )
31
35
COMPILED_WITH_CUDA = False
32
36
33
37
# print the setup details after checking for errors so we do not print twice
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def read(fname):
18
18
19
19
setup (
20
20
name = f"bitsandbytes" ,
21
- version = f"0.38.0" ,
21
+ version = f"0.38.0.post2 " ,
22
22
author = "Tim Dettmers" ,
23
23
author_email = "dettmers@cs.washington.edu" ,
24
24
description = "8-bit optimizers and matrix multiplication routines." ,
You can’t perform that action at this time.
0 commit comments