Skip to content

Commit 6dae722

Browse files
committed
remove useless code
1 parent 32491bc commit 6dae722

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bitsandbytes/cuda_setup/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@
3333
# we have libcudart.so.11.0 which causes a lot of errors before
3434
# not sure if libcudart.so.12.0 exists in pytorch installs, but it does not hurt
3535
system = platform.system()
36-
if system == 'Darwin':
37-
CUDA_RUNTIME_LIBS: list = ["libcuda.dylib", '/usr/local/cuda/lib/libcuda.dylib']
38-
elif system == 'Windows':
36+
if system == 'Windows':
3937
CUDA_RUNTIME_LIBS: list = ["nvcuda.dll"]
4038
else: # Linux or other
4139
CUDA_RUNTIME_LIBS: list = ["libcudart.so", 'libcudart.so.11.0', 'libcudart.so.12.0']

0 commit comments

Comments
 (0)