Skip to content

Commit 1ab8941

Browse files
committed
Update setting for server as well
1 parent eba058a commit 1ab8941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/server/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class ModelSettings(BaseSettings):
7070
description="The number of threads to use.",
7171
)
7272
n_threads_batch: int = Field(
73-
default=max(multiprocessing.cpu_count() // 2, 1),
73+
default=max(multiprocessing.cpu_count(), 1),
7474
ge=0,
7575
description="The number of threads to use when batch processing.",
7676
)

0 commit comments

Comments
 (0)