Skip to content

Commit 9da1901

Browse files
khluuEC2 Default User
authored andcommitted
[misc] Revert # 12833 (vllm-project#12857)
Signed-off-by: <> Co-authored-by: EC2 Default User <[email protected]> Signed-off-by: Louis Ulmer <[email protected]>
1 parent f362075 commit 9da1901

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)