Input is a fps=30, length=61 seconds , 720x1280 video. VLLM online inference with extra_body
mm_processor_kwargs = {
"fps": 1,
"do_sample_frames": True,
}
Prompt is "描述视频内容”.
Finallay, vllm return {'prompt_tokens': 11981, 'completion_tokens': 711, 'total_tokens': 12692}) (how the token num is calculated ???)
When I add max_frames=16 in mm_processor_kwargs, expecting using fps=1 but total frame num not exeed 16, vllm return errors: {'error': {'message': 'The timestamps length(30) should be equal video length (8).', 'type': 'Internal Server Error', 'param': None, 'code': 500}}
I am so confused how vllm sampling video inside. https://github.com/huggingface/transformers/blob/9aab965b1e61d92d402809bd467c317ec464e560/src/transformers/models/qwen3_vl/video_processing_qwen3_vl.py#L99
Maybe canceling video base64 jpgs is a bad idea...
Input is a fps=30, length=61 seconds , 720x1280 video. VLLM online inference with
extra_bodyPrompt is "描述视频内容”.
Finallay, vllm return {'prompt_tokens': 11981, 'completion_tokens': 711, 'total_tokens': 12692}) (how the token num is calculated ???)
When I add max_frames=16 in mm_processor_kwargs, expecting using fps=1 but total frame num not exeed 16, vllm return errors:
{'error': {'message': 'The timestamps length(30) should be equal video length (8).', 'type': 'Internal Server Error', 'param': None, 'code': 500}}I am so confused how vllm sampling video inside.
https://github.com/huggingface/transformers/blob/9aab965b1e61d92d402809bd467c317ec464e560/src/transformers/models/qwen3_vl/video_processing_qwen3_vl.py#L99Maybe canceling video base64 jpgs is a bad idea...