[MM][CG] Support ViT CG for Qwen2.5-VL (#40830)

Signed-off-by: John Calderon <jcalderon@nvidia.com>
This commit is contained in:
John Calderon
2026-05-02 11:10:14 +08:00
committed by GitHub
parent c408fdd663
commit 964a4bc2a5
5 changed files with 539 additions and 22 deletions
@@ -54,7 +54,18 @@ MODEL_CONFIGS: dict[str, VitCudagraphTestConfig] = {
needs_video_metadata=True,
marks=[pytest.mark.core_model],
),
# TODO: Add more models below.
"qwen2_5_vl": VitCudagraphTestConfig(
model="Qwen/Qwen2.5-VL-3B-Instruct",
image_prompt=qwen_vl_chat_template(
"<|vision_start|><|image_pad|><|vision_end|>What is in this image?"
),
video_prompt=qwen_vl_chat_template(
"<|vision_start|><|video_pad|><|vision_end|>"
"Describe this video in one sentence."
),
needs_video_metadata=False,
marks=[pytest.mark.core_model],
),
}