Config: Fix argparse help

Adding a comma in the description converts the string to a tuple,
which isn't parseable by argparse's help.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
kingbri 2025-05-05 21:52:30 -04:00
parent ff38305145
commit b683545d0e

View file

@ -163,13 +163,11 @@ class ModelConfig(BaseConfigModel):
"Example: ['max_seq_len', 'cache_mode']."
),
)
# Defaults to exllamav2 in common/model.py
backend: Optional[str] = Field(
None,
description=(
"Backend to use for this model (default: exllamav2)\n"
"Options: exllamav2, exllamav3",
"Options: exllamav2, exllamav3"
),
)
max_seq_len: Optional[int] = Field(