[Bugfix] avoid warmup if text only expectation in multi_modal run (#40409)

Signed-off-by: khushali9 <khushali.desai9@gmail.com>
This commit is contained in:
Khushali Desai
2026-04-22 00:19:50 +00:00
committed by GitHub
parent 583e6f2226
commit 6ff8dea075
2 changed files with 114 additions and 1 deletions
+3 -1
View File
@@ -226,7 +226,9 @@ class BaseRenderer(ABC, Generic[_T]):
model_config = self.model_config
mm_config = model_config.get_multimodal_config()
processor = self.mm_processor
mm_limits = processor.info.allowed_mm_limits
mm_limits = {
k: v for k, v in processor.info.allowed_mm_limits.items() if v > 0
}
try:
logger.debug("Warming up multi-modal processing...")