diff --git a/vllm/model_executor/models/gemma3_mm.py b/vllm/model_executor/models/gemma3_mm.py index b80a4ab5951c..22c94049121b 100644 --- a/vllm/model_executor/models/gemma3_mm.py +++ b/vllm/model_executor/models/gemma3_mm.py @@ -103,6 +103,10 @@ def get_num_crops( image_height: int, processor: Optional[Gemma3Processor], ) -> int: + # not supporting pan_and_scan + if is_hpu: + return 0 + if processor is None: processor = self.get_hf_processor()