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 f374561

Browse filesBrowse files
authored
Merge pull request abetlen#108 from eiery/main
Update n_batch default to 512 to match upstream llama.cpp
2 parents 02cf881 + aa12d8a commit f374561
Copy full SHA for f374561

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.