We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cbeef36 + a315128 commit 28c2b88Copy full SHA for 28c2b88
llama_cpp/server/app.py
@@ -48,8 +48,8 @@ class Settings(BaseSettings):
48
)
49
n_gpu_layers: int = Field(
50
default=0,
51
- ge=0,
52
- description="The number of layers to put on the GPU. The rest will be on the CPU.",
+ ge=-1,
+ description="The number of layers to put on the GPU. The rest will be on the CPU. Set -1 to move all to GPU.",
53
54
main_gpu: int = Field(
55
0 commit comments