Changed the environment variable name into "LLAMA_CPP_LIB"
This commit is contained in:
parent
ee71ce8ab7
commit
2559e5af9b
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ def _load_shared_library(lib_base_name):
|
||||||
_base_path / f"{lib_base_name}{lib_ext}"
|
_base_path / f"{lib_base_name}{lib_ext}"
|
||||||
]
|
]
|
||||||
|
|
||||||
if ("LLAMA_LIB" in os.environ):
|
if ("LLAMA_CPP_LIB" in os.environ):
|
||||||
lib_base_name = os.environ["LLAMA_LIB"]
|
lib_base_name = os.environ["LLAMA_CPP_LIB"]
|
||||||
_lib = pathlib.Path(lib_base_name)
|
_lib = pathlib.Path(lib_base_name)
|
||||||
_base_path = _lib.parent.resolve()
|
_base_path = _lib.parent.resolve()
|
||||||
_lib_paths = [_lib.resolve()]
|
_lib_paths = [_lib.resolve()]
|
||||||
|
|
Loading…
Reference in a new issue