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