Skip to content

Commit 1e57b1e

Browse files
[Misc] Remove unnecessary decode call (#12833)
1 parent e152f29 commit 1e57b1e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vllm/inputs/preprocess.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,6 @@ def _process_multimodal(
260260
mm_processor = self.mm_registry.create_processor(
261261
self.model_config, tokenizer)
262262

263-
if isinstance(prompt, list):
264-
prompt = tokenizer.decode(prompt)
265263
if mm_processor_kwargs is None:
266264
mm_processor_kwargs = {}
267265

0 commit comments

Comments
 (0)