From b683545d0e4a9b757fdb2bc74e59f2077681bfd2 Mon Sep 17 00:00:00 2001 From: kingbri <8082010+kingbri1@users.noreply.github.com> Date: Mon, 5 May 2025 21:52:30 -0400 Subject: [PATCH] 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> --- common/config_models.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/config_models.py b/common/config_models.py index 2965fe0..9d88eb1 100644 --- a/common/config_models.py +++ b/common/config_models.py @@ -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(