Skip to content

Commit cf339c9

Browse files
author
Mug
committed
Better custom library debugging
1 parent 4132293 commit cf339c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llama_cpp/llama_cpp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def _load_shared_library(lib_base_name):
2626
]
2727

2828
if ("LLAMA_LIB" in os.environ):
29+
lib_base_name = os.environ["LLAMA_LIB"]
2930
_lib_paths = [pathlib.Path(os.environ["LLAMA_LIB"]).resolve()]
3031

3132
# Add the library directory to the DLL search path on Windows (if needed)

0 commit comments

Comments
 (0)