mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-17 07:05: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)
|
||||
|
||||
# Don't log the most common case
|
||||
if runner_type != "generate":
|
||||
logger.info(
|
||||
"Resolved `--runner auto` to `--runner %s`. "
|
||||
"Pass the value explicitly to silence this message.", runner_type)
|
||||
"Pass the value explicitly to silence this message.",
|
||||
runner_type)
|
||||
|
||||
return runner_type
|
||||
|
||||
@ -998,9 +1001,12 @@ class ModelConfig:
|
||||
convert_type = self._get_default_convert_type(architectures,
|
||||
runner_type)
|
||||
|
||||
# Don't log the most common case
|
||||
if convert_type != "none":
|
||||
logger.info(
|
||||
"Resolved `--convert auto` to `--convert %s`. "
|
||||
"Pass the value explicitly to silence this message.", convert_type)
|
||||
"Pass the value explicitly to silence this message.",
|
||||
convert_type)
|
||||
|
||||
return convert_type
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user