diff --git a/vllm/model_executor/models/llava.py b/vllm/model_executor/models/llava.py index 38b27f68567eb..9f17a0dfe82ff 100644 --- a/vllm/model_executor/models/llava.py +++ b/vllm/model_executor/models/llava.py @@ -219,11 +219,10 @@ def _get_dummy_mm_kwargs( hf_inputs = image_processor.preprocess(data['image'], return_tensors="pt") if 'is_pixtral' not in hf_inputs: - hf_inputs['is_pixtral'] = isinstance(hf_processor, PixtralProcessor) + hf_inputs['is_pixtral'] = isinstance(hf_processor, + PixtralProcessor) - return MultiModalKwargs( - **hf_inputs - ) + return MultiModalKwargs(**hf_inputs) class LlavaLikeConfig(Protocol):