SIGN IN SIGN UP

fix: honor empty processor_kwargs={} in multimodal pipelines (#48044)

* fix: treat empty processor_kwargs as explicit

`processor_kwargs={}` was falsy under `or processing_kwargs`, so an
explicit empty dict incorrectly fell back to the full processing kwargs
and could leak unrelated arguments into the processor call.

* test: cover empty processor_kwargs in image-text-to-text preprocess

* test the actual warning, no monkey patch

---------

Co-authored-by: raushan <raushan@huggingface.co>
H
hungnnvidia committed
606e501074365ea471aed03ebb3b708a421e69e5
Parent: bea0343
Committed by GitHub <noreply@github.com> on 8/18/2026, 10:04:17 AM