Skip to content
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions vllm/model_executor/models/qwen3_vl.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ def _get_video_second_idx(
sampled_num_frames: int | None = None,
) -> list[int]:
video_processor = self.get_video_processor()
merge_size = video_processor.merge_size
temporal_patch_size = video_processor.temporal_patch_size
indices = metadata["frames_indices"]

# metadata["fps"] refers to the true fps of the input video.
Expand Down Expand Up @@ -806,7 +806,7 @@ def _get_video_second_idx(
.astype(int)
.tolist()
)
timestamps = self._calculate_timestamps(indices, video_fps, merge_size)
timestamps = self._calculate_timestamps(indices, video_fps, temporal_patch_size)
return timestamps


Expand Down
Loading