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 e3a3184 commit c8f1011Copy full SHA for c8f1011
vllm/model_executor/models/minicpmv.py
@@ -464,6 +464,8 @@ def _get_image_bounds(
464
im_end_id: torch.Tensor,
465
slice_start_id: Optional[torch.Tensor] = None,
466
slice_end_id: Optional[torch.Tensor] = None) -> torch.Tensor:
467
+ # All the images in the batch should share the same special image
468
+ # bound token ids.
469
start_cond = input_ids == im_start_id[0]
470
end_cond = input_ids == im_end_id[0]
471
if slice_start_id is not None:
0 commit comments