Skip to content

Commit

Permalink
Fix redundant code
Browse files Browse the repository at this point in the history
Signed-off-by: DarkLight1337 <[email protected]>
  • Loading branch information
DarkLight1337 committed Dec 7, 2024
1 parent 70c87d1 commit 27b276b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions vllm/v1/engine/mm_input_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ def process_inputs(
mm_data: MultiModalDataDict,
mm_processor_kwargs: Optional[Dict[str, Any]],
) -> List[MultiModalKwargs]:
# Skip this redundant step if merged processor has been applied
if isinstance(mm_data, MultiModalKwargs):
return [mm_data]

image_inputs = mm_data["image"]
if not isinstance(image_inputs, list):
image_inputs = [image_inputs]
Expand Down

0 comments on commit 27b276b

Please sign in to comment.