[Misc] Add tensor schema test coverage for multimodal models (#21754)
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Signed-off-by: Isotr0py <2037008807@qq.com>
This commit is contained in:
@@ -256,7 +256,7 @@ class DeepseekVLV2Processor(ProcessorMixin):
|
||||
def __call__(
|
||||
self,
|
||||
*,
|
||||
prompt: str,
|
||||
text: str,
|
||||
images: list[Image.Image],
|
||||
inference_mode: bool = True,
|
||||
**kwargs,
|
||||
@@ -264,7 +264,7 @@ class DeepseekVLV2Processor(ProcessorMixin):
|
||||
"""
|
||||
|
||||
Args:
|
||||
prompt (str): the formatted prompt;
|
||||
text (str): the formatted prompt;
|
||||
images (list[ImageType]): the list of images;
|
||||
inference_mode (bool): if True, then remove the last eos token;
|
||||
**kwargs:
|
||||
@@ -278,7 +278,7 @@ class DeepseekVLV2Processor(ProcessorMixin):
|
||||
"""
|
||||
|
||||
prepare = self.process_one(
|
||||
prompt=prompt,
|
||||
prompt=text,
|
||||
images=images,
|
||||
inference_mode=inference_mode,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user