We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c4aead commit 4040af6Copy full SHA for 4040af6
llama_cpp/llava_cpp.py
@@ -36,7 +36,7 @@
36
# Specify the base name of the shared library to load
37
_libllava_base_name = "llava"
38
_libllava_override_path = os.environ.get("LLAVA_CPP_LIB")
39
-_libllava_base_path = pathlib.Path(os.path.abspath(os.path.dirname(__file__))) / "lib" if _libllava_override_path is None else pathlib.Path()
+_libllava_base_path = pathlib.Path(os.path.abspath(os.path.dirname(__file__))) / "lib" if _libllava_override_path is None else pathlib.Path(_libllava_override_path)
40
41
# Load the library
42
_libllava = load_shared_library(_libllava_base_name, _libllava_base_path)
0 commit comments