Unverified Commit 9aea7373 authored by Simon Danielsson's avatar Simon Danielsson Committed by GitHub
Browse files

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


Signed-off-by: default avatarsimondanielsson <simon.danielsson99@hotmail.com>
parent 30d08911
......@@ -524,10 +524,10 @@ def get_config(
else:
raise ValueError(
"Could not detect config format for no config file found. "
"With config_format 'auto', ensure your model has either"
"config.json (HF format) or params.json (Mistral format)."
"Otherwise please specify your_custom_config_format"
"in engine args for customized config parser")
"With config_format 'auto', ensure your model has either "
"config.json (HF format) or params.json (Mistral format). "
"Otherwise please specify your_custom_config_format "
"in engine args for customized config parser.")
except Exception as e:
error_message = (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment