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
36c9ce25
Unverified
Commit
36c9ce25
authored
Dec 11, 2025
by
gh-wf
Committed by
GitHub
Dec 11, 2025
Browse files
Ensure minimum frames for GLM 4.6V compatibility (#30285)
Signed-off-by:
Wayne Ferguson
<
wayneferguson@gmail.com
>
parent
1a516557
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vllm/model_executor/models/glm4_1v.py
vllm/model_executor/models/glm4_1v.py
+1
-0
No files found.
vllm/model_executor/models/glm4_1v.py
View file @
36c9ce25
...
...
@@ -1257,6 +1257,7 @@ class Glm4vDummyInputsBuilder(BaseDummyInputsBuilder[Glm4vProcessingInfo]):
)
height
=
min
(
height
,
overrides
.
height
)
num_frames
=
max
(
num_frames
,
2
)
# GLM 4.6V requires 2 frames
video
=
np
.
full
((
num_frames
,
width
,
height
,
3
),
255
,
dtype
=
np
.
uint8
)
video_items
=
[]
for
i
in
range
(
num_videos
):
...
...
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