A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 14, 05:30 UTC
[Bugfix] Fix the issue that Blip2ForConditionalGeneration' object has… (#24028)
Signed-off-by: Dazhi Jiang <dazhi_jiang@163.com>
damon committed
Sep 2, 2025 at 11:54 UTC
04d0c60770fef98808db1c3d3361ab1a74384726
1 file changed
+2
-2
vllm/model_executor/models/blip2.py
+2
-2
@@ -560,8 +560,8 @@ class Blip2ForConditionalGeneration(nn.Module, SupportsMultiModal, SupportsPP,
560
self.make_empty_intermediate_tensors = (
561
self.language_model.make_empty_intermediate_tensors)
562
563
- def _create_image_input(self,
564
- **kwargs: object) -> Optional[Blip2ImageInputs]:
563
+ def _parse_and_validate_image_input(
564
+ self, **kwargs: object) -> Optional[Blip2ImageInputs]:
565
pixel_values = kwargs.pop("pixel_values", None)
566
image_embeds = kwargs.pop("image_embeds", None)
567