Skip to content

Commit 6a2df72

Browse files
committed
Use llama_model_load_from_file instead of llama_load_model_from_file
1 parent 5c5f898 commit 6a2df72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/_internals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848
raise ValueError(f"Model path does not exist: {path_model}")
4949

5050
with suppress_stdout_stderr(disable=verbose):
51-
model = llama_cpp.llama_load_model_from_file(
51+
model = llama_cpp.llama_model_load_from_file(
5252
self.path_model.encode("utf-8"), self.params
5353
)
5454

0 commit comments

Comments
 (0)