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
0426e3c5
Unverified
Commit
0426e3c5
authored
Oct 09, 2025
by
Lukas Geiger
Committed by
GitHub
Oct 09, 2025
Browse files
[Models][Qwen3VL] Optimise `_validate_and_reshape_mm_tensor` (#26426)
Signed-off-by:
Lukas Geiger
<
lukas.geiger94@gmail.com
>
parent
4bdf7ac5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/qwen3_vl.py
vllm/model_executor/models/qwen3_vl.py
+1
-1
No files found.
vllm/model_executor/models/qwen3_vl.py
View file @
0426e3c5
...
...
@@ -1304,7 +1304,7 @@ class Qwen3VLForConditionalGeneration(
f
"Got ndim:
{
mm_input
.
ndim
}
"
f
"(shape=
{
mm_input
.
shape
}
)"
)
return
torch
.
concat
(
list
(
mm_input
)
)
return
mm_input
.
reshape
(
-
1
,
mm_input
.
shape
[
-
1
]
)
else
:
return
torch
.
concat
(
mm_input
)
...
...
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