Skip to content

Commit

Permalink
update typo
Browse files Browse the repository at this point in the history
Signed-off-by: Roger Wang <[email protected]>
  • Loading branch information
ywang96 committed Nov 3, 2024
1 parent 10f273d commit e68ce30
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vllm/model_executor/models/h2ovl.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,9 @@ def input_processor(
elif is_list_of(image_data, torch.Tensor):

image_feature_sizes = []
for image in image_data:
_, image_feature_size, _ = image.shape
for image_embed in image_data:
_, image_feature_size, _ = image_embed.shape
image_feature_sizes.append(image_feature_size)
_, image_feature_size, _ = image_data.shape
pixel_values = None

else:
Expand Down

0 comments on commit e68ce30

Please sign in to comment.