mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-26 12:36:32 +08:00
[Model] Fix bagel failed to run (#31132)
Signed-off-by: wangli <wangli858794774@gmail.com>
This commit is contained in:
parent
c02a2705f9
commit
256a33ecb4
@ -487,7 +487,7 @@ class BagelForConditionalGeneration(
|
||||
# Split by image
|
||||
return tuple(vision_embeds)
|
||||
|
||||
def get_multimodal_embeddings(self, **kwargs: object) -> MultiModalEmbeddings:
|
||||
def embed_multimodal(self, **kwargs: object) -> MultiModalEmbeddings:
|
||||
"""Get multimodal embeddings from input."""
|
||||
image_input = self._parse_and_validate_image_input(**kwargs)
|
||||
if image_input is None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user