From 6970fa9937d7b99d141c32ba6fc800b4bd97cf50 Mon Sep 17 00:00:00 2001 From: Xiaohan Zou Date: Sat, 27 Sep 2025 03:59:22 -0400 Subject: [PATCH] [Bugfix] Add missing `image_size` for phi4_multimodal (#25796) Signed-off-by: yewentao256 --- vllm/model_executor/models/phi4_multimodal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vllm/model_executor/models/phi4_multimodal.py b/vllm/model_executor/models/phi4_multimodal.py index d2a3a8cc04969..bdc831354c11f 100644 --- a/vllm/model_executor/models/phi4_multimodal.py +++ b/vllm/model_executor/models/phi4_multimodal.py @@ -786,6 +786,7 @@ class Phi4MMProcessingInfo(BaseProcessingInfo): target_ratios, orig_width, orig_height, + image_size, ) # calculate the target width and height