Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2559e5a

Browse filesBrowse files
author
Mug
committed
Changed the environment variable name into "LLAMA_CPP_LIB"
1 parent ee71ce8 commit 2559e5a
Copy full SHA for 2559e5a

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎llama_cpp/llama_cpp.py

Copy file name to clipboardExpand all lines: llama_cpp/llama_cpp.py
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.