diff --git a/vllm/model_executor/models/qwen2_vl.py b/vllm/model_executor/models/qwen2_vl.py index 91bc282daaeab..446d2d87fcc4f 100644 --- a/vllm/model_executor/models/qwen2_vl.py +++ b/vllm/model_executor/models/qwen2_vl.py @@ -648,8 +648,7 @@ def _get_max_image_info( min_pixels: Optional[int] = None, max_pixels: Optional[int] = None, ): - # Limit min / max pixels - # Fallback order: kwargs -> image_processor values -> reasonable defaults + # Limit min / max pixels unless they're explicitly provided if min_pixels is None: min_pixels = max(image_processor.min_pixels, 28 * 28) if max_pixels is None: