Add low_vram to server settings
This commit is contained in:
parent
44b83cada5
commit
1e20be6d0c
1 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,10 @@ class Settings(BaseSettings):
|
|||
description="Use mmap.",
|
||||
)
|
||||
embedding: bool = Field(default=True, description="Whether to use embeddings.")
|
||||
low_vram: bool = Field(
|
||||
default=False,
|
||||
description="Whether to use less VRAM. This will reduce performance.",
|
||||
)
|
||||
last_n_tokens_size: int = Field(
|
||||
default=64,
|
||||
ge=0,
|
||||
|
|
Loading…
Reference in a new issue