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
dd424571
Unverified
Commit
dd424571
authored
Dec 24, 2025
by
Cyrus Leung
Committed by
GitHub
Dec 24, 2025
Browse files
[Bugfix] Enable `dynamic_dims` for different embeds shape (#31223)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
ca6a95ba
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
vllm/model_executor/models/audioflamingo3.py
vllm/model_executor/models/audioflamingo3.py
+1
-1
vllm/model_executor/models/minicpmv.py
vllm/model_executor/models/minicpmv.py
+1
-1
vllm/model_executor/models/qwen2_audio.py
vllm/model_executor/models/qwen2_audio.py
+1
-1
No files found.
vllm/model_executor/models/audioflamingo3.py
View file @
dd424571
...
...
@@ -111,7 +111,7 @@ class AudioFlamingo3EmbeddingInputs(TensorSchema):
audio_embeds
:
Annotated
[
list
[
torch
.
Tensor
],
TensorShape
(
"bn"
,
"naf"
,
"hs"
),
TensorShape
(
"bn"
,
"naf"
,
"hs"
,
dynamic_dims
=
{
"naf"
}
),
]
...
...
vllm/model_executor/models/minicpmv.py
View file @
dd424571
...
...
@@ -139,7 +139,7 @@ class MiniCPMVImageEmbeddingInputs(TensorSchema):
type
:
Literal
[
"image_embeds"
]
image_embeds
:
Annotated
[
torch
.
Tensor
|
list
[
torch
.
Tensor
],
TensorShape
(
"bn"
,
"ns"
,
"hs"
),
TensorShape
(
"bn"
,
"ns"
,
"hs"
,
dynamic_dims
=
{
"ns"
}
),
]
...
...
vllm/model_executor/models/qwen2_audio.py
View file @
dd424571
...
...
@@ -101,7 +101,7 @@ class Qwen2AudioEmbeddingInputs(TensorSchema):
audio_embeds
:
Annotated
[
list
[
torch
.
Tensor
],
TensorShape
(
"bn"
,
"naf"
,
"hs"
),
TensorShape
(
"bn"
,
"naf"
,
"hs"
,
dynamic_dims
=
{
"naf"
}
),
]
...
...
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