[Multimodal] Expose mm_processor_kwargs for DummyInputsBuilder (#34330)

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
This commit is contained in:
Isotr0py
2026-02-11 09:37:40 -08:00
committed by GitHub
parent ffb3d553cc
commit 0ab06100f4
72 changed files with 131 additions and 27 deletions
+2
View File
@@ -257,10 +257,12 @@ class MultiModalRegistry:
if processor is None:
processor = self.create_processor(model_config, cache=cache)
mm_config = model_config.get_multimodal_config()
processor_inputs = processor.dummy_inputs.get_dummy_processor_inputs(
seq_len=seq_len,
mm_counts=mm_counts,
mm_options=self._extract_mm_options(model_config),
mm_processor_kwargs=mm_config.mm_processor_kwargs,
)
mm_inputs = processor.apply(
prompt=processor_inputs.prompt,