[Bugfix][InternVL] Stop the video parser consuming image_embeds (#55779)

Signed-off-by: subhash polisetti <subhashr161347@gmail.com>
This commit is contained in:
Subhash Polisetti
2026-09-08 05:19:41 +00:00
committed by GitHub
parent 6c73b08dec
commit 782f36cd0c
+1 -1
View File
@@ -755,7 +755,7 @@ class InternVLChatModel(
) -> InternVLVideoInputs | None:
pixel_values_flat_video = kwargs.pop("pixel_values_flat_video", None)
video_num_patches = kwargs.pop("video_num_patches", None)
video_embeds = kwargs.pop("image_embeds", None)
video_embeds = kwargs.pop("video_embeds", None)
if pixel_values_flat_video is None and video_embeds is None:
return None