From c8f9b8a734b5b040379bbd93995ba177affab1fe Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Wed, 13 Sep 2023 21:19:47 -0400 Subject: [PATCH] Explicitly make all init params other than model_path into keyword only params --- llama_cpp/llama.py | 1 + 1 file changed, 1 insertion(+) diff --git a/llama_cpp/llama.py b/llama_cpp/llama.py index 8725707..289de6e 100644 --- a/llama_cpp/llama.py +++ b/llama_cpp/llama.py @@ -212,6 +212,7 @@ class Llama: def __init__( self, model_path: str, + *, # NOTE: These parameters are likely to change in the future. n_ctx: int = 512, n_parts: int = -1,