Skip to content

Commit f2baec3

Browse files
committed
Set length of audio_features to dynamic dim
Signed-off-by: Benji Beck <benjibeck@meta.com>
1 parent d9bd550 commit f2baec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/models/minicpmo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class MiniCPMOAudioFeatureInputs(TensorSchema):
7575

7676
audio_features: Annotated[
7777
Union[torch.Tensor, list[torch.Tensor]],
78-
TensorShape("bns", "c", "l"),
78+
TensorShape("bns", "c", "l", dynamic_dims={"l"}),
7979
]
8080
"""
8181
Slice here means chunk. Audio that is too long will be split into slices,

0 commit comments

Comments
 (0)