[Bugfix][Qwen2.5-VL] Honor video fps for temporal M-RoPE (#47736)
Signed-off-by: Ting Sun <suntcrick@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
5abf85d27a
commit
a33b3bac5d
@@ -15,7 +15,11 @@ from vllm.tokenizers.registry import cached_tokenizer_from_config
|
||||
|
||||
cherry_pil_image = ImageAsset("cherry_blossom").pil_image
|
||||
stop_pil_image = ImageAsset("stop_sign").pil_image
|
||||
baby_reading_np_ndarrays = VideoAsset("baby_reading").np_ndarrays
|
||||
baby_reading_video_asset = VideoAsset("baby_reading")
|
||||
baby_reading_video = (
|
||||
baby_reading_video_asset.np_ndarrays,
|
||||
baby_reading_video_asset.metadata,
|
||||
)
|
||||
|
||||
|
||||
def _build_renderer(
|
||||
@@ -127,7 +131,7 @@ def test_multi_modal_uuids_accepts_none_and_passes_through(
|
||||
|
||||
mm_data = {
|
||||
"image": [cherry_pil_image, stop_pil_image],
|
||||
"video": baby_reading_np_ndarrays,
|
||||
"video": baby_reading_video,
|
||||
}
|
||||
|
||||
# Use a consistent two-image scenario across all configurations
|
||||
@@ -207,7 +211,7 @@ def test_multi_modal_uuids_preserved_when_caching_disabled(mm_uuids, expected):
|
||||
request_id = "req-42"
|
||||
mm_data = {
|
||||
"image": [cherry_pil_image, stop_pil_image],
|
||||
"video": baby_reading_np_ndarrays,
|
||||
"video": baby_reading_video,
|
||||
}
|
||||
|
||||
mm_processor = renderer.get_mm_processor()
|
||||
|
||||
Reference in New Issue
Block a user