Skip to content

Commit

Permalink
format.sh fix for previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjuxax committed Dec 9, 2024
1 parent 687e365 commit 14703ea
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions vllm/model_executor/models/llava.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,10 @@ def _get_dummy_mm_kwargs(
hf_inputs = image_processor.preprocess(data['image'],
return_tensors="pt")
if 'is_pixtral' not in hf_inputs:
hf_inputs['is_pixtral'] = isinstance(hf_processor, PixtralProcessor)
hf_inputs['is_pixtral'] = isinstance(hf_processor,
PixtralProcessor)

return MultiModalKwargs(
**hf_inputs
)
return MultiModalKwargs(**hf_inputs)


class LlavaLikeConfig(Protocol):
Expand Down

0 comments on commit 14703ea

Please sign in to comment.