-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
[bugfix] Qwen3-VL fix video incorrect timestamp calculations while do_sample_frames=True #27104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request correctly fixes a bug where video timestamps were incorrectly calculated when frame sampling was enabled. The change introduces a new sampled_fps variable to avoid overwriting the original video_fps, ensuring the correct value is used for timestamp calculations. The fix is well-targeted and effectively resolves the issue.
…_sample_frames=True (vllm-project#27104) Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
…_sample_frames=True (vllm-project#27104) Co-authored-by: 松灵 <wpf272043@alibaba-inc.com> Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
…_sample_frames=True (vllm-project#27104) Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
…_sample_frames=True (vllm-project#27104) Co-authored-by: 松灵 <wpf272043@alibaba-inc.com> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
…_sample_frames=True (vllm-project#27104) Co-authored-by: 松灵 <wpf272043@alibaba-inc.com> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
…_sample_frames=True (vllm-project#27104) Co-authored-by: 松灵 <wpf272043@alibaba-inc.com> Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
…_sample_frames=True (vllm-project#27104) Co-authored-by: 松灵 <wpf272043@alibaba-inc.com> Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
…_sample_frames=True (vllm-project#27104) Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
…_sample_frames=True (vllm-project#27104) Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
…_sample_frames=True (vllm-project#27104) Co-authored-by: 松灵 <wpf272043@alibaba-inc.com>
The current code overwrites
video_fpswithsampled_fps, which causes incorrect timestamp calculations.@ywang96 Hey bro, could you please help review this? Thanks!