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 aa12d8a

Browse filesBrowse files
author
eiery
authored
Update llama.py
update n_batch default to 512 to match upstream llama.cpp
1 parent e99caed commit aa12d8a
Copy full SHA for aa12d8a

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎llama_cpp/llama.py

Copy file name to clipboardExpand all lines: llama_cpp/llama.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(
3737
use_mlock: bool = False,
3838
embedding: bool = False,
3939
n_threads: Optional[int] = None,
40-
n_batch: int = 8,
40+
n_batch: int = 512,
4141
last_n_tokens_size: int = 64,
4242
lora_base: Optional[str] = None,
4343
lora_path: Optional[str] = None,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.