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 5fbc492 commit 91d1262Copy full SHA for 91d1262
vllm/model_executor/models/qwen2_vl.py
@@ -967,6 +967,9 @@ def _parse_and_validate_image_input(
967
image_grid_thw=image_grid_thw)
968
969
if image_embeds is not None:
970
+ image_embeds = self._validate_and_reshape_mm_tensor(
971
+ image_embeds, "image embeds")
972
+
973
if not isinstance(image_embeds, torch.Tensor):
974
raise ValueError("Incorrect type of image embeddings. "
975
f"Got type: {type(image_embeds)}")
0 commit comments