8000 Add kwargs to init to catch extra params · csegura/llama-cpp-python@a68f9e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit a68f9e2

Browse files
committed
Add kwargs to init to catch extra params
1 parent 9e345a4 commit a68f9e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llama_cpp/llama.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ def __init__(
236236
rms_norm_eps: Optional[float] = None, # (TEMPORARY)
237237
mul_mat_q: Optional[bool] = None,
238238
verbose: bool = True,
239+
**kwargs # type: ignore
239240
):
240241
"""Load a llama.cpp model from `model_path`.
241242

0 commit comments

Comments
 (0)
0