Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c8f9b8a

Browse filesBrowse files
committed
Explicitly make all init params other than model_path into keyword only params
1 parent a68f9e2 commit c8f9b8a
Copy full SHA for c8f9b8a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎llama_cpp/llama.py

Copy file name to clipboardExpand all lines: llama_cpp/llama.py
+1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.