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
4283a28c
Unverified
Commit
4283a28c
authored
Apr 27, 2025
by
Jee Jee Li
Committed by
GitHub
Apr 27, 2025
Browse files
[Bugfix] Fix QWen2 VL multimodal mapping (#17240)
Signed-off-by:
Jee Jee Li
<
pandaleefree@gmail.com
>
parent
93a126fb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
vllm/model_executor/models/qwen2_5_vl.py
vllm/model_executor/models/qwen2_5_vl.py
+3
-2
vllm/model_executor/models/qwen2_vl.py
vllm/model_executor/models/qwen2_vl.py
+3
-2
No files found.
vllm/model_executor/models/qwen2_5_vl.py
View file @
4283a28c
...
@@ -1131,5 +1131,6 @@ class Qwen2_5_VLForConditionalGeneration(nn.Module, SupportsMultiModal,
...
@@ -1131,5 +1131,6 @@ class Qwen2_5_VLForConditionalGeneration(nn.Module, SupportsMultiModal,
"""
"""
return
MultiModelKeys
.
from_string_field
(
return
MultiModelKeys
.
from_string_field
(
language_model
=
"language_model"
,
language_model
=
"language_model"
,
connector
=
"visual."
,
connector
=
"visual.merger."
,
tower_model
=
"visual.merger."
)
tower_model
=
"visual."
,
)
vllm/model_executor/models/qwen2_vl.py
View file @
4283a28c
...
@@ -1404,5 +1404,6 @@ class Qwen2VLForConditionalGeneration(nn.Module, SupportsMultiModal,
...
@@ -1404,5 +1404,6 @@ class Qwen2VLForConditionalGeneration(nn.Module, SupportsMultiModal,
"""
"""
return
MultiModelKeys
.
from_string_field
(
return
MultiModelKeys
.
from_string_field
(
language_model
=
"language_model"
,
language_model
=
"language_model"
,
connector
=
"visual."
,
connector
=
"visual.merger."
,
tower_model
=
"visual.merger."
)
tower_model
=
"visual."
,
)
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