mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-24 20:15:01 +08:00
[Bugfix] Fix the issue that Blip2ForConditionalGeneration' object has… (#24028)
Signed-off-by: Dazhi Jiang <dazhi_jiang@163.com>
This commit is contained in:
parent
2b41cbbf03
commit
04d0c60770
@ -560,8 +560,8 @@ class Blip2ForConditionalGeneration(nn.Module, SupportsMultiModal, SupportsPP,
|
||||
self.make_empty_intermediate_tensors = (
|
||||
self.language_model.make_empty_intermediate_tensors)
|
||||
|
||||
def _create_image_input(self,
|
||||
**kwargs: object) -> Optional[Blip2ImageInputs]:
|
||||
def _parse_and_validate_image_input(
|
||||
self, **kwargs: object) -> Optional[Blip2ImageInputs]:
|
||||
pixel_values = kwargs.pop("pixel_values", None)
|
||||
image_embeds = kwargs.pop("image_embeds", None)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user