[Bugfix] Typos in error message for missing model config file (#25339)

Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com>
This commit is contained in:
Simon Danielsson
2025-09-21 04:36:47 -07:00
committed by GitHub
parent 30d08911f7
commit 9aea7373ff
+4 -4
View File
@@ -524,10 +524,10 @@ def get_config(
else: else:
raise ValueError( raise ValueError(
"Could not detect config format for no config file found. " "Could not detect config format for no config file found. "
"With config_format 'auto', ensure your model has either" "With config_format 'auto', ensure your model has either "
"config.json (HF format) or params.json (Mistral format)." "config.json (HF format) or params.json (Mistral format). "
"Otherwise please specify your_custom_config_format" "Otherwise please specify your_custom_config_format "
"in engine args for customized config parser") "in engine args for customized config parser.")
except Exception as e: except Exception as e:
error_message = ( error_message = (