Skip to content

Commit 9bf1aed

Browse files
russellbxuebwang-amd
authored andcommitted
[Core] Drop overly aggressive whisper assertion (vllm-project#25408)
Signed-off-by: Russell Bryant <rbryant@redhat.com> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
1 parent af19426 commit 9bf1aed

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

vllm/v1/core/sched/scheduler.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,6 @@ def schedule(self) -> SchedulerOutput:
463463
# always padded to the maximum length. If we support other
464464
# encoder-decoder models, this will need to be updated if we
465465
# want to only allocate what is needed.
466-
assert ("whisper"
467-
in self.vllm_config.model_config.model.lower()), (
468-
"Whisper is the only supported "
469-
"encoder-decoder model.")
470466
num_encoder_tokens =\
471467
self.scheduler_config.max_num_encoder_input_tokens
472468
else:

0 commit comments

Comments
 (0)