Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion vllm/model_executor/models/glm4_1v.py
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ def get_num_frames_with_most_features(
max_total_frames // max(max_videos, 1), _MAX_FRAMES_PER_VIDEO
)

return max(max_frames_per_video, 1)
return max(max_frames_per_video, 3)

def _get_video_second_idx_glm4v(
self, metadata: dict[str, Any], total_frames: int
Expand Down Expand Up @@ -1844,3 +1844,4 @@ class Glm4vMoeForConditionalGeneration(Glm4vForConditionalGeneration):
"up_proj",
],
}