8000 Merge pull request #108 from eiery/main · lidanger/llama-cpp-python@f374561 · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit f374561

Browse 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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/llama.py

Lines 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