Skip to content

Commit 4f36fc7

Browse files
committed
1 parent a0bba9b commit 4f36fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/multimodal/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def _default_input_mapper(
5353
"to process the image object")
5454
try:
5555
batch_data = image_processor \
56-
.preprocess(data, return_tensors="pt") \
56+
.preprocess(data, input_data_format="channels_last", return_tensors="pt") \
5757
.data
5858
except Exception:
5959
logger.error("Failed to process image (%s)", data)

0 commit comments

Comments
 (0)