Skip to content

Commit

Permalink
[Misc] Remove unnecessary decode call (#12833)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkLight1337 authored Feb 6, 2025
1 parent e152f29 commit 1e57b1e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vllm/inputs/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,6 @@ 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 1e57b1e

Please sign in to comment.