mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 14:05:39 +08:00
[Misc] Update Default Image Mapper Error Log (#8977)
Signed-off-by: Alex-Brooks <Alex.Brooks@ibm.com> Co-authored-by: Roger Wang <136131678+ywang96@users.noreply.github.com>
This commit is contained in:
parent
563649aafe
commit
7f60520deb
@ -56,7 +56,12 @@ class ImagePlugin(MultiModalPlugin):
|
|||||||
.preprocess(data, return_tensors="pt") \
|
.preprocess(data, return_tensors="pt") \
|
||||||
.data
|
.data
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.error("Failed to process image (%s)", data)
|
logger.error(
|
||||||
|
"Failed to process image (%s) with the default mapper. "
|
||||||
|
"This is most likely an edge-case with this model's image "
|
||||||
|
"processor in transformers (type: %s), and not vLLM.",
|
||||||
|
data,
|
||||||
|
type(image_processor).__name__)
|
||||||
raise
|
raise
|
||||||
|
|
||||||
return MultiModalInputs(batch_data)
|
return MultiModalInputs(batch_data)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user