Skip to content

Commit b260782

Browse files
khluuEC2 Default User
and
EC2 Default User
authored
[misc] Revert # 12833 (#12857)
Signed-off-by: <> Co-authored-by: EC2 Default User <[email protected]>
1 parent 741429a commit b260782

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vllm/inputs/preprocess.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ 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)
265+
263266
if mm_processor_kwargs is None:
264267
mm_processor_kwargs = {}
265268

0 commit comments

Comments
 (0)