Skip to content

Commit b6cf8f0

Browse files
Isotr0pyHaisheng Chen
authored andcommitted
[Bugfix] Investigate Qwen2-VL failing test (vllm-project#21527)
Signed-off-by: Isotr0py <[email protected]>
1 parent 64561c7 commit b6cf8f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/models/multimodal/generation/test_common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,7 @@
677677
prompt_formatter=lambda img_prompt: f"<|im_start|>User\n{img_prompt}<|im_end|>\n<|im_start|>assistant\n", # noqa: E501
678678
img_idx_to_prompt=lambda idx: "<|vision_start|><|image_pad|><|vision_end|>", # noqa: E501
679679
video_idx_to_prompt=lambda idx: "<|vision_start|><|video_pad|><|vision_end|>", # noqa: E501
680+
multi_image_prompt="Picture 1: <vlm_image>\nPicture 2: <vlm_image>\nDescribe these two images with one paragraph respectively.", # noqa: E501
680681
max_model_len=4096,
681682
max_num_seqs=2,
682683
auto_cls=AutoModelForVision2Seq,

0 commit comments

Comments
 (0)