Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
f31ff874
Unverified
Commit
f31ff874
authored
Sep 22, 2025
by
Russell Bryant
Committed by
GitHub
Sep 22, 2025
Browse files
[Core] Drop overly aggressive whisper assertion (#25408)
Signed-off-by:
Russell Bryant
<
rbryant@redhat.com
>
parent
d588cd24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
vllm/v1/core/sched/scheduler.py
vllm/v1/core/sched/scheduler.py
+0
-4
No files found.
vllm/v1/core/sched/scheduler.py
View file @
f31ff874
...
@@ -463,10 +463,6 @@ class Scheduler(SchedulerInterface):
...
@@ -463,10 +463,6 @@ class Scheduler(SchedulerInterface):
# always padded to the maximum length. If we support other
# always padded to the maximum length. If we support other
# encoder-decoder models, this will need to be updated if we
# encoder-decoder models, this will need to be updated if we
# want to only allocate what is needed.
# 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
=
\
num_encoder_tokens
=
\
self
.
scheduler_config
.
max_num_encoder_input_tokens
self
.
scheduler_config
.
max_num_encoder_input_tokens
else
:
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment