Skip to content

Commit ce1da76

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: SzymonOzog <[email protected]>
1 parent e79432c commit ce1da76

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vllm/inputs/preprocess.py

+3
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)