10000 Update context size defaults Close #11 · lapnd/llama-cpp-python@f7ab8d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit f7ab8d5

Browse files
committed
Update context size defaults Close abetlen#11
1 parent c0a5c01 commit f7ab8d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/fastapi_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class Settings(BaseSettings):
3434
embedding=True,
3535
n_threads=6,
3636
n_batch=2048,
37+
n_ctx=2048,
3738
)
3839

3940

0 commit comments

Comments
 (0)
0