Better custom library debugging

This commit is contained in:
Mug 2023-04-10 17:06:58 +02:00
parent 4132293d2d
commit cf339c9b3c

View file

@ -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)