mirror of https://github.com/hwchase17/langchain
black formatting
parent
ccea1e9147
commit
42d0d485a9
@ -1,8 +1,9 @@
|
||||
import ctypes
|
||||
|
||||
|
||||
def is_libcublas_available() -> bool:
|
||||
try:
|
||||
ctypes.CDLL("libcublas.so")
|
||||
return True
|
||||
except OSError:
|
||||
return False
|
||||
return False
|
||||
|
Loading…
Reference in New Issue