mirror of
https://github.com/vllm-project/vllm.git
synced 2025-10-20 23:03:52 +08:00
[Bugfix] Fix wrong method name in Intern-S1 image processor (#22417)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@ -161,7 +161,7 @@ class InternS1ProcessingInfo(BaseProcessingInfo):
|
||||
if not isinstance(processor, GotOcr2ImageProcessorFast):
|
||||
raise ValueError(f'GotOcr2ImageProcessorFast is expected but got '
|
||||
f'{type(processor)}')
|
||||
num_image_patches = processor.get_number_of_image_tokens(
|
||||
num_image_patches = processor.get_number_of_image_patches(
|
||||
image_height, image_width, images_kwargs=dict())
|
||||
num_image_tokens = self.get_hf_processor(
|
||||
).image_seq_length * num_image_patches
|
||||
|
Reference in New Issue
Block a user