Skip to content

Commit

Permalink
[Misc] Remove unnecessary decode call (vllm-project#12833)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkLight1337 authored and ShangmingCai committed Feb 10, 2025
1 parent dd9cae1 commit 9ed8aa2
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 9ed8aa2

Please sign in to comment.