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
51f0acda
Unverified
Commit
51f0acda
authored
Mar 18, 2026
by
Cyrus Leung
Committed by
GitHub
Mar 17, 2026
Browse files
[Model] Remove unused `handle_oov_mm_token` (#37321)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
fa75204b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
tests/models/multimodal/processing/test_qwen2_5_omni_embed.py
...s/models/multimodal/processing/test_qwen2_5_omni_embed.py
+4
-2
vllm/model_executor/models/fireredasr2.py
vllm/model_executor/models/fireredasr2.py
+0
-1
vllm/model_executor/models/kimi_audio.py
vllm/model_executor/models/kimi_audio.py
+0
-1
No files found.
tests/models/multimodal/processing/test_qwen2_5_omni_embed.py
View file @
51f0acda
...
...
@@ -185,14 +185,16 @@ def make_mock_model(hidden: int = 8):
# super().embed_input_ids → use SupportsMultiModal.embed_input_ids
def
fake_super_embed
(
ids
,
mm_embs
=
None
,
*
,
is_multimodal
=
None
,
handle_oov_mm_token
=
False
ids
,
mm_embs
=
None
,
*
,
is_multimodal
=
None
,
):
return
SupportsMultiModal
.
embed_input_ids
(
model
,
ids
,
mm_embs
,
is_multimodal
=
is_multimodal
,
handle_oov_mm_token
=
handle_oov_mm_token
,
)
# Bind embed_input_ids as the real method
...
...
vllm/model_executor/models/fireredasr2.py
View file @
51f0acda
...
...
@@ -793,7 +793,6 @@ class FireRedASR2ForConditionalGeneration(
multimodal_embeddings
:
MultiModalEmbeddings
|
None
=
None
,
*
,
is_multimodal
:
torch
.
Tensor
|
None
=
None
,
handle_oov_mm_token
:
bool
=
False
,
)
->
torch
.
Tensor
:
inputs_embeds
=
self
.
model
.
decoder
.
embed_input_ids
(
input_ids
)
...
...
vllm/model_executor/models/kimi_audio.py
View file @
51f0acda
...
...
@@ -514,7 +514,6 @@ class KimiAudioForConditionalGeneration(
multimodal_embeddings
:
tuple
[
torch
.
Tensor
,
...]
|
None
=
None
,
*
,
is_multimodal
:
torch
.
Tensor
|
None
=
None
,
handle_oov_mm_token
:
bool
=
False
,
)
->
torch
.
Tensor
:
"""Embed input IDs and fuse with audio embeddings.
...
...
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