[Fix] Support qwen3-next MTP+DP (#10392)

This commit is contained in:
Binyao Jiang authored and GitHub committed 2025-09-13 17:45:04 +08:00
1 parent 297d374510
commit 9752861002
4 files changed
+29 -18

No files matched your search

@@ -170,6 +170,7 @@ class ModelConfig:
if is_draft_model and self.hf_config.architectures[0] == "Qwen3NextForCausalLM":
self.hf_config.architectures[0] = "Qwen3NextForCausalLMMTP"
self.hf_config.num_nextn_predict_layers = 1
# Check model type
self.is_generation = is_generation_model(