Repository navigation
feat(mtp): add Qwen3.6-35B-A3B native MoE MTP recipe - #73
hereisaway wants to merge 2 commits into
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 57 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
fc868e9 to
e32d0d5
Compare
|
@zhouaihui this PR is ready for review now. Since the draft was opened, #70 (native MoE MTP model/loader) has been merged, so I rebased this branch onto the new What changed in this update:
Validation after rebase: |
Depends on #70 (merged)
#70 added the native MoE MTP model/loader and is now merged into
main(0429713). This PR is rebased on that merge and contains only the PR2 changes.Summary
This is the recipe/trainer/resume increment for #59. It wires the Qwen3.6-35B-A3B native MoE MTP predictor into a runnable recipe and validates exact recovery.
Scope is recipe/trainer/resume only. Export/stitch and decode acceptance remain follow-ups.
Changes
configs/recipes/qwen3_6_35b_a3b_mtp.yaml: 2 Target GPUs (TP2) + 1 Draft GPU, SDPA, CP1, non-packing,mtp_steps=3,mooncake.hidden_dim=2048.tools/recipe_catalog.json: newnative-mtp-moeentry (3 GPUs: 2 Target + 1 Draft).tests/cpu/test_release_recipes.py: catalog entry count updated for the new recipe.docs/user-guide/recipes.md,docs/user-guide/algorithms.md,docs/support.md: recipe/support updates; MoE export/stitch marked as follow-up.tests/test_native_mtp_moe_recipe.py: recipe/Plan/model identity/catalog contract.tests/cpu/test_native_mtp_moe.py: trainer feature-status regression and native MoE structure tests.aspec/training/mtp_trainer.py:MTPTrainer.get_feature_contract_status()uses the generic Trainer status plus MTP fields. Previously it inherited the EAGLE status path and cleanup failed onDDPMTPModel.loss_gradient_checkpointing.aspec/config/draft_structure.py: describes the native MoE predictor with routed/shared expert fields (ffn_type=native_mtp_moe).aspec/planning.py: the model-only fail-closed from feat(mtp): add Qwen3.5-MoE native predictor support #70 is relaxed for validnative_mtp_moestructures; invalid expert settings still fail.Validation
tests/cpu+tests/source: 1497 passed.ruff check aspec tests tools setup.py,python -m tools.check_docs,git diff --check: pass.1.840292 / 1.251354 / 0.731200 / 0.226630; evalloss=0.9515, sim_acc_len=2.21.0.201892 / 0.103003 / 1.274404 / 1.172917; evalloss=0.8092, sim_acc_len=2.29..distcppayloads are byte-identical between resumed and fresh checkpoints; RNG tensors are element-wise identical; final metrics identical.completed / healthy / cleanup completedwith 9/9 capabilities and 0 fallbacks.mooncake.protocol=tcpbecause the selected GPUs are not all NVLink-connected; the release recipe keepstransfer_engine/nvlink_intra.Follow-ups
Part of #59.