Remove noisy warnings from SchedulerConfig (#17995)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user