8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a40476e commit a0758f0Copy full SHA for a0758f0
llama_cpp/llama_cpp.py
@@ -5,7 +5,7 @@
5
import pathlib
6
7
# Load the library
8
-def load_shared_library(lib_base_name):
+def _load_shared_library(lib_base_name):
9
# Determine the file extension based on the platform
10
if sys.platform.startswith("linux"):
11
lib_ext = ".so"
@@ -40,10 +40,10 @@ def load_shared_library(lib_base_name):
40
raise FileNotFoundError(f"Shared library with base name '{lib_base_name}' not found")
41
42
# Specify the base name of the shared library to load
43
-lib_base_name = "llama"
+_lib_base_name = "llama"
44
45
46
-_lib = load_shared_library(lib_base_name)
+_lib = _load_shared_library(_lib_base_name)
47
48
# C types
49
llama_context_p = c_void_p
0 commit comments