8000 Explicitly make all init params other than model_path into keyword on… · csegura/llama-cpp-python@c8f9b8a · GitHub
[go: up one dir, main page]

Skip to content

Commit c8f9b8a

Browse files
committed
Explicitly make all init params other than model_path into keyword only params
1 parent a68f9e2 commit c8f9b8a

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
@@ -212,6 +212,7 @@ class Llama:
212212
def __init__(
213213
self,
214214
model_path: str,
215+
*,
215216
# NOTE: These parameters are likely to change in the future.
216217
n_ctx: int = 512,
217218
n_parts: int = -1,

0 commit comments

Comments
 (0)
0