[Core] Drop overly aggressive whisper assertion (#25408)

Signed-off-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
Russell Bryant
2025-09-22 20:09:52 -04:00
committed by GitHub
parent d588cd2406
commit f31ff87460

View File

@ -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: