From d67085c2c8a5de07fb531b0c0416d173f31cd9af Mon Sep 17 00:00:00 2001 From: Harry Mellor <19981378+hmellor@users.noreply.github.com> Date: Tue, 13 May 2025 01:33:45 +0100 Subject: [PATCH] Remove noisy warnings from `SchedulerConfig` (#17995) Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> --- vllm/config.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vllm/config.py b/vllm/config.py index 377e7f5a5f2af..ed33030ed589a 100644 --- a/vllm/config.py +++ b/vllm/config.py @@ -2018,15 +2018,9 @@ class SchedulerConfig: def __post_init__(self) -> None: if self.max_model_len is None: 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: 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.enable_chunked_prefill: