mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-21 20:25:01 +08:00
[Bugfix] Typos in error message for missing model config file (#25339)
Signed-off-by: simondanielsson <simon.danielsson99@hotmail.com> Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
parent
5fd95c77af
commit
80cad257da
@ -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 = (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user