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:
parent
ff38305145
commit
b683545d0e
1 changed files with 1 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue