Skip to content

Commit 6616ebc

Browse files
committed
Fix B018 (useless expression)
1 parent 20e272f commit 6616ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitsandbytes/cextension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Inspect the output of the command and see if you can locate CUDA libraries. You might need to add them
2323
to your LD_LIBRARY_PATH. If you suspect a bug, please take the information from python -m bitsandbytes
2424
and open an issue at: https://github.com/TimDettmers/bitsandbytes/issues''')
25-
lib.cadam32bit_grad_fp32 # runs on an error if the library could not be found -> COMPILED_WITH_CUDA=False
25+
_ = lib.cadam32bit_grad_fp32 # runs on an error if the library could not be found -> COMPILED_WITH_CUDA=False
2626
lib.get_context.restype = ct.c_void_p
2727
lib.get_cusparse.restype = ct.c_void_p
2828
lib.cget_managed_ptr.restype = ct.c_void_p

0 commit comments

Comments
 (0)