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
9973e6e0
Unverified
Commit
9973e6e0
authored
Nov 11, 2025
by
Lukas Geiger
Committed by
GitHub
Nov 11, 2025
Browse files
[Model][Qwen3VL] Slighly speedup `fast_pos_embed_interpolate` (#28434)
Signed-off-by:
Lukas Geiger
<
lukas.geiger94@gmail.com
>
parent
c7991269
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/model_executor/models/qwen3_vl.py
vllm/model_executor/models/qwen3_vl.py
+2
-2
No files found.
vllm/model_executor/models/qwen3_vl.py
View file @
9973e6e0
...
@@ -491,8 +491,8 @@ class Qwen3_VisionTransformer(nn.Module):
...
@@ -491,8 +491,8 @@ class Qwen3_VisionTransformer(nn.Module):
weights
=
weights
.
to
(
dtype
=
self
.
dtype
)
weights
=
weights
.
to
(
dtype
=
self
.
dtype
)
embeds
=
self
.
pos_embed
(
indices
)
embeds
=
self
.
pos_embed
(
indices
)
weighted_embeds
=
embeds
*
weights
embeds
*
=
weights
combined
=
weighted_
embeds
.
sum
(
dim
=
0
)
combined
=
embeds
.
sum
(
dim
=
0
)
combined
=
combined
.
reshape
(
combined
=
combined
.
reshape
(
h
//
m_size
,
m_size
,
w
//
m_size
,
m_size
,
hidden_dim
h
//
m_size
,
m_size
,
w
//
m_size
,
m_size
,
hidden_dim
...
...
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