A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 6, 12:00 UTC
[Bugfix] Fix incorrect use of merge_size in Qwen3-VL video timestamp calculation (#37439)
Signed-off-by: chengyufang <cnyvfang@outlook.com>
Chengyu Fang committed
Mar 19, 2026 at 02:36 UTC
738d0a281fab2e151a67b370c26b4e4360362f8f
1 file changed
+2
-2
vllm/model_executor/models/qwen3_vl.py
+2
-2
@@ -767,7 +767,7 @@ class Qwen3VLProcessingInfo(Qwen2VLProcessingInfo):
767
sampled_num_frames: int | None = None,
768
) -> list[int]:
769
video_processor = self.get_video_processor()
770
- merge_size = video_processor.merge_size
770
+ temporal_patch_size = video_processor.temporal_patch_size
771
indices = metadata["frames_indices"]
772
773
# metadata["fps"] refers to the true fps of the input video.
@@ -806,7 +806,7 @@ class Qwen3VLProcessingInfo(Qwen2VLProcessingInfo):
806
.astype(int)
807
.tolist()
808
)
809
- timestamps = self._calculate_timestamps(indices, video_fps, merge_size)
809
+ timestamps = self._calculate_timestamps(indices, video_fps, temporal_patch_size)
810
return timestamps
811
812