Skip to content

Commit

Permalink
[misc] Revert # 12833 (vllm-project#12857)
Browse files Browse the repository at this point in the history
Signed-off-by: <>
Co-authored-by: EC2 Default User <ec2-user@ip-172-31-20-117.us-west-2.compute.internal>
  • Loading branch information
2 people authored and AoyuQC committed Feb 8, 2025
1 parent ca2714d commit 514ee3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vllm/inputs/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ def _process_multimodal(
mm_processor = self.mm_registry.create_processor(
self.model_config, tokenizer)

if isinstance(prompt, list):
prompt = tokenizer.decode(prompt)

if mm_processor_kwargs is None:
mm_processor_kwargs = {}

Expand Down

0 comments on commit 514ee3d

Please sign in to comment.