Skip to content

Commit

Permalink
Remove extra _calc_hd_transform_size call
Browse files Browse the repository at this point in the history
  • Loading branch information
zifeitong committed Aug 24, 2024
1 parent 15310b5 commit d2ab348
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vllm/model_executor/models/phi3v.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,6 @@ def input_processor_for_phi3v(ctx: InputContext, llm_inputs: LLMInputs):
image_data = multi_modal_data["image"]
if isinstance(image_data, Image.Image):
w, h = image_data.size
w, h = _calc_hd_transform_size(width=w, height=h)

image_feature_size = get_phi3v_image_feature_size(hf_config,
input_width=w,
input_height=h)
Expand Down

0 comments on commit d2ab348

Please sign in to comment.