Remove noisy warnings from SchedulerConfig (#17995)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2025-05-13 01:33:45 +01:00
committed by GitHub
parent 307939f299
commit d67085c2c8

View File

@@ -2018,15 +2018,9 @@ class SchedulerConfig:
def __post_init__(self) -> None: def __post_init__(self) -> None:
if self.max_model_len is None: if self.max_model_len is None:
self.max_model_len = 8192 self.max_model_len = 8192
logger.warning_once(
"max_model_len was is not set. Defaulting to arbitrary value "
"of %d.", self.max_model_len)
if self.max_num_seqs is None: if self.max_num_seqs is None:
self.max_num_seqs = 128 self.max_num_seqs = 128
logger.warning_once(
"max_num_seqs was is not set. Defaulting to arbitrary value "
"of %d.", self.max_num_seqs)
if self.max_num_batched_tokens is None: if self.max_num_batched_tokens is None:
if self.enable_chunked_prefill: if self.enable_chunked_prefill: