Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexm-neuralmagic committed Dec 2, 2024
1 parent 259fbf2 commit 593ae17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vllm/v1/engine/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ def process_inputs(

# Preprocess multi-modal data
mm_inputs = self.mm_input_mapper.process_inputs(
decoder_inputs.multi_modal_data, decoder_inputs.mm_processor_kwargs
) if not decoder_inputs.multi_modal_data else None
decoder_inputs.multi_modal_data,
decoder_inputs.mm_processor_kwargs) if len(
decoder_inputs.multi_modal_data) > 0 else None

# Make Request for Detokenizer.
detokenizer_request = DetokenizerRequest(
Expand Down

0 comments on commit 593ae17

Please sign in to comment.