mirror of
https://github.com/abetlen/llama-cpp-python.git
synced 2023-09-07 17:34:22 +03:00
Better custom library debugging
This commit is contained in:
@@ -26,6 +26,7 @@ def _load_shared_library(lib_base_name):
|
||||
]
|
||||
|
||||
if ("LLAMA_LIB" in os.environ):
|
||||
lib_base_name = os.environ["LLAMA_LIB"]
|
||||
_lib_paths = [pathlib.Path(os.environ["LLAMA_LIB"]).resolve()]
|
||||
|
||||
# Add the library directory to the DLL search path on Windows (if needed)
|
||||
|
||||
Reference in New Issue
Block a user