transformers
2c3926ec - Fix incorrect timestamp calculation in Qwen3VL Processor (#43659)

Commit
30 days ago
Fix incorrect timestamp calculation in Qwen3VL Processor (#43659) Fixes #43519 The Qwen3VL processor was incorrectly using 'merge_size' (spatial merging) instead of 'temporal_patch_size' (temporal grouping) when calculating video frame timestamps. When calculating timestamps: - 'temporal_patch_size' groups consecutive frames together temporally - 'merge_size' groups pixels spatially Using the wrong parameter would produce incorrect timestamp values because the temporal grouping factor differs from the spatial one. The fix changes the _calculate_timestamps call to use 'self.video_processor.temporal_patch_size' as suggested in the issue.
Parents
Loading