From 4ea0c28bc4ba28968b8386728ed64235fbe1ac79 Mon Sep 17 00:00:00 2001 From: SeongJun Lee Date: Wed, 7 Oct 2026 00:55:27 +0900 Subject: [PATCH] [Bugfix] Warn only on per-request do_normalize/do_rescale overrides (#60240) Signed-off-by: lesj0610 --- vllm/config/multimodal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/config/multimodal.py b/vllm/config/multimodal.py index 24c534b364..3bba0434c3 100644 --- a/vllm/config/multimodal.py +++ b/vllm/config/multimodal.py @@ -725,7 +725,7 @@ class MultiModalConfig: # The model expects raw pixels and normalises on device; # overriding these per request would silently double-normalise. for key in ("do_normalize", "do_rescale"): - if key in inference_kwargs: + if inference_kwargs.get(key): logger.warning_once( "mm_device_do_normalize is enabled; ignoring " "per-request mm_processor_kwargs[%r].",