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 1e20be6

Browse filesBrowse files
committed
Add low_vram to server settings
1 parent 44b83ca commit 1e20be6
Copy full SHA for 1e20be6

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎llama_cpp/server/app.py

Copy file name to clipboardExpand all lines: llama_cpp/server/app.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ class Settings(BaseSettings):
4848
description="Use mmap.",
4949
)
5050
embedding: bool = Field(default=True, description="Whether to use embeddings.")
51+
low_vram: bool = Field(
52+
default=False,
53+
description="Whether to use less VRAM. This will reduce performance.",
54+
)
5155
last_n_tokens_size: int = Field(
5256
default=64,
5357
ge=0,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.