Skip to content

Commit 2559e5a

Browse files
author
Mug
committed
Changed the environment variable name into "LLAMA_CPP_LIB"
1 parent ee71ce8 commit 2559e5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llama_cpp/llama_cpp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def _load_shared_library(lib_base_name):
2525
_base_path / f"{lib_base_name}{lib_ext}"
2626
]
2727

28-
if ("LLAMA_LIB" in os.environ):
29-
lib_base_name = os.environ["LLAMA_LIB"]
28+
if ("LLAMA_CPP_LIB" in os.environ):
29+
lib_base_name = os.environ["LLAMA_CPP_LIB"]
3030
_lib = pathlib.Path(lib_base_name)
3131
_base_path = _lib.parent.resolve()
3232
_lib_paths = [_lib.resolve()]

0 commit comments

Comments
 (0)