Skip to content

Commit

Permalink
Fix swapped height / width in dummy data
Browse files Browse the repository at this point in the history
Signed-off-by: Alex-Brooks <[email protected]>
  • Loading branch information
alex-jw-brooks committed Oct 24, 2024
1 parent 7415104 commit bac02b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vllm/model_executor/models/llava_next.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ def dummy_data_for_llava_next(ctx: InputContext, seq_len: int,
mm_data = dummy_image_for_clip(
vision_config,
num_images,
image_width_override=max_feat_height,
image_height_override=max_feat_width,
image_width_override=max_feat_width,
image_height_override=max_feat_height,
)

return seq_data, mm_data
Expand All @@ -208,8 +208,8 @@ def dummy_data_for_llava_next(ctx: InputContext, seq_len: int,
mm_data = dummy_image_for_siglip(
vision_config,
num_images,
image_width_override=max_feat_height,
image_height_override=max_feat_width,
image_width_override=max_feat_width,
image_height_override=max_feat_height,
)

return seq_data, mm_data
Expand Down

0 comments on commit bac02b8

Please sign in to comment.