We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a45036b commit 1e4f658Copy full SHA for 1e4f658
vllm/model_executor/models/mllama4.py
@@ -778,6 +778,8 @@ def _parse_and_validate_image_input(
778
flat_pixel_values = flatten_bn(pixel_values, concat=True)
779
patches_per_image = flatten_bn(kwargs.pop("patches_per_image"))
780
aspect_ratios = kwargs.pop("aspect_ratios")
781
+ if aspect_ratios.ndim == 3:
782
+ aspect_ratios = aspect_ratios.squeeze(1)
783
784
return Llama4ImagePatchInputs(
785
type="pixel_values",
0 commit comments