From 8b9fb13c4af224fe3855bdc92ce2117230d8d63b Mon Sep 17 00:00:00 2001 From: Zheng Wengang Date: Sat, 23 May 2026 15:32:57 +0800 Subject: [PATCH] [BugFix][EPD] adapt for qwen3.5-mtp & del duplicated logs (#24144) --- python/sglang/srt/multimodal/processors/qwen_vl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/sglang/srt/multimodal/processors/qwen_vl.py b/python/sglang/srt/multimodal/processors/qwen_vl.py index 4e86c25aa..a6199fb8d 100644 --- a/python/sglang/srt/multimodal/processors/qwen_vl.py +++ b/python/sglang/srt/multimodal/processors/qwen_vl.py @@ -24,6 +24,7 @@ from sglang.srt.models.qwen3_5 import ( Qwen3_5ForConditionalGeneration, Qwen3_5MoeForConditionalGeneration, ) +from sglang.srt.models.qwen3_5_mtp import Qwen3_5ForCausalLMMTP from sglang.srt.models.qwen3_omni_moe import Qwen3OmniMoeForConditionalGeneration from sglang.srt.models.qwen3_vl import Qwen3VLForConditionalGeneration from sglang.srt.models.qwen3_vl_moe import Qwen3VLMoeForConditionalGeneration @@ -247,6 +248,7 @@ class QwenVLImageProcessor(SGLangBaseProcessor): Qwen3VLMoeForConditionalGeneration, Qwen3_5ForConditionalGeneration, Qwen3_5MoeForConditionalGeneration, + Qwen3_5ForCausalLMMTP, InternS2PreviewForConditionalGeneration, Qwen3OmniMoeForConditionalGeneration, ] @@ -475,7 +477,6 @@ class QwenVLImageProcessor(SGLangBaseProcessor): embedding_start : embedding_start + num_tokens ] consumed_per_modality[modality] = embedding_start + num_tokens - logger.info(f"Get embedding slice for {modality}, num_tokens={num_tokens}") mm_items.append( MultimodalDataItem( modality=modality,