From e97cf2e32bf4b42e83600dad71d753676e1615a3 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 22 Sep 2025 20:09:52 -0400 Subject: [PATCH] [Core] Drop overly aggressive whisper assertion (#25408) Signed-off-by: Russell Bryant Signed-off-by: yewentao256 --- vllm/v1/core/sched/scheduler.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vllm/v1/core/sched/scheduler.py b/vllm/v1/core/sched/scheduler.py index ef77d9e2d3ffd..7fc4776b02611 100644 --- a/vllm/v1/core/sched/scheduler.py +++ b/vllm/v1/core/sched/scheduler.py @@ -463,10 +463,6 @@ class Scheduler(SchedulerInterface): # always padded to the maximum length. If we support other # encoder-decoder models, this will need to be updated if we # want to only allocate what is needed. - assert ("whisper" - in self.vllm_config.model_config.model.lower()), ( - "Whisper is the only supported " - "encoder-decoder model.") num_encoder_tokens =\ self.scheduler_config.max_num_encoder_input_tokens else: