Skip to content

Commit 6eb78ec

Browse files
committed
fix the llama_model_load_from_splits function name
1 parent ff3c9e1 commit 6eb78ec

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
@@ -1191,12 +1191,12 @@ def llama_init_from_model(
11911191
# size_t n_paths,
11921192
# struct llama_model_params params);
11931193
@ctypes_function(
1194-
"llama_init_from_model",
1194+
"llama_model_load_from_splits",
11951195
[ctypes.c_char_p, llama_model_params],
11961196
ctypes.c_int32,
11971197
llama_context_p_ctypes,
11981198
)
1199-
def llama_init_from_model(
1199+
def llama_model_load_from_splits(
12001200
paths: bytes, n_paths:int , params: llama_model_params, /
12011201
) -> Optional[llama_context_p]:
12021202
...

0 commit comments

Comments
 (0)