mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-17 09:45:01 +08:00
[Misc] Reduce logs for model resolution (#21765)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
parent
34a20c49b3
commit
0e18a5d058
@ -949,9 +949,12 @@ class ModelConfig:
|
|||||||
|
|
||||||
runner_type = self._get_default_runner_type(architectures)
|
runner_type = self._get_default_runner_type(architectures)
|
||||||
|
|
||||||
logger.info(
|
# Don't log the most common case
|
||||||
"Resolved `--runner auto` to `--runner %s`. "
|
if runner_type != "generate":
|
||||||
"Pass the value explicitly to silence this message.", runner_type)
|
logger.info(
|
||||||
|
"Resolved `--runner auto` to `--runner %s`. "
|
||||||
|
"Pass the value explicitly to silence this message.",
|
||||||
|
runner_type)
|
||||||
|
|
||||||
return runner_type
|
return runner_type
|
||||||
|
|
||||||
@ -998,9 +1001,12 @@ class ModelConfig:
|
|||||||
convert_type = self._get_default_convert_type(architectures,
|
convert_type = self._get_default_convert_type(architectures,
|
||||||
runner_type)
|
runner_type)
|
||||||
|
|
||||||
logger.info(
|
# Don't log the most common case
|
||||||
"Resolved `--convert auto` to `--convert %s`. "
|
if convert_type != "none":
|
||||||
"Pass the value explicitly to silence this message.", convert_type)
|
logger.info(
|
||||||
|
"Resolved `--convert auto` to `--convert %s`. "
|
||||||
|
"Pass the value explicitly to silence this message.",
|
||||||
|
convert_type)
|
||||||
|
|
||||||
return convert_type
|
return convert_type
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user