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
6fe58876
Unverified
Commit
6fe58876
authored
Dec 18, 2025
by
Isotr0py
Committed by
GitHub
Dec 17, 2025
Browse files
[Chore] Remove v0 dead code for Qwen2.5-omni (#30883)
Signed-off-by:
Isotr0py
<
mozf@mail2.sysu.edu.cn
>
parent
bc3700e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
vllm/model_executor/models/qwen2_5_omni_thinker.py
vllm/model_executor/models/qwen2_5_omni_thinker.py
+0
-22
No files found.
vllm/model_executor/models/qwen2_5_omni_thinker.py
View file @
6fe58876
...
...
@@ -70,7 +70,6 @@ from vllm.multimodal.inputs import (
MultiModalFeatureSpec
,
MultiModalFieldConfig
,
MultiModalKwargsItems
,
NestedTensors
,
)
from
vllm.multimodal.parse
import
(
AudioProcessorItems
,
...
...
@@ -1150,27 +1149,6 @@ class Qwen2_5OmniThinkerForConditionalGeneration(
handle_oov_mm_token
=
handle_oov_mm_token
,
)
def
embed_multimodal_v0
(
self
,
**
kwargs
:
object
)
->
NestedTensors
|
None
:
audio_input
=
self
.
_parse_and_validate_audio_input
(
**
kwargs
)
image_input
=
self
.
_parse_and_validate_image_input
(
**
kwargs
)
video_input
=
self
.
_parse_and_validate_video_input
(
**
kwargs
)
if
audio_input
is
None
and
image_input
is
None
and
video_input
is
None
:
return
None
multimodal_embeddings
:
list
[
tuple
[
NestedTensors
,
str
]]
=
[]
if
audio_input
is
not
None
:
audio_embeds
=
self
.
_process_audio_input
(
audio_input
)
multimodal_embeddings
.
append
((
audio_embeds
,
"audio"
))
if
image_input
is
not
None
:
image_embeds
=
self
.
_process_image_input
(
image_input
)
multimodal_embeddings
.
append
((
image_embeds
,
"image"
))
if
video_input
is
not
None
:
video_embeds
=
self
.
_process_video_input
(
video_input
)
multimodal_embeddings
.
append
((
video_embeds
,
"video"
))
return
multimodal_embeddings
def
forward
(
self
,
input_ids
:
torch
.
Tensor
,
...
...
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