PithTrain: A Compact and Agent-Native MoE Training System
Summary
Defines agent-task efficiency (ATE) and ships PithTrain, an ~11K-line Python-native MoE stack (PP, FSDP DP, CP, EP, DualPipeV overlap, torch.compile, FP8) built on compactness, no implicit indirection, and in-repo agent skills. Matches or exceeds Megatron-LM tokens/s on GPT-OSS-20B, Qwen3-30B-A3B, and DeepSeek-V2-Lite on H100/B200 (e.g. 280.0K vs 264.1K tok/s on 4×8 H100 Qwen3-30B-A3B PP4/EP8). ATE-Bench (12 Q&A, 4 operate/profile, 4 new-feature ports) with Claude Opus 4.7: up to 62% fewer agent turns and 64% less active GPU time vs production frameworks on the hardest new-feature tasks. Code Apache-2.0 https://github.com/mlc-ai/pith-train.
- Venue
- arXiv / Carnegie Mellon University / NVIDIA
- Source
- arxiv
- Access
- free
- License
- CC BY 4.0 (paper); Apache-2.0 (PithTrain code)
- License family
- Permissive
- Language
- en
- Purpose
- Make an MoE trainer both throughput-competitive and cheap for coding agents to understand, operate, and extend
- Scale
- ~11K LoC vs Megatron-LM 149K / DeepSpeed 167K / TorchTitan 38K; ATE-Bench 20 tasks × 3 frameworks × 3 attempts; throughput table on 8–32 GPU H100/B200 configs
- Used for
- Unknown
- Time period
- 2026-05-29 (arXiv 2605.31463 v1). GitHub mlc-ai/pith-train 332 stars at check.
- Author type
- human
- Added
- Aug 14, 2026
- Verified
- Aug 14, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- May 29, 2026
- arXiv categories
- cs.LG, cs.AI, cs.CL, cs.DC
- Citations
- 0
- References
- 39
Abstract (from arXiv)
Mixture-of-Experts (MoE) has become the dominant architecture for frontier language models. To meet this demand, production frameworks have built optimized MoE training stacks over years of engineering effort. Yet evolving these stacks for new architectures and system optimizations remains expensive. With the rise of AI coding agents, they could automate parts of training-framework development and accelerate this evolution. But applying them to these existing frameworks carries hidden costs, invisible to today's throughput-only evaluations. We name this missing dimension agent-task efficiency (ATE): the cost of using coding agents to understand, operate, and extend a framework. Grounded in four agent-native design principles, we build PithTrain, a compact, agent-native MoE training framework. We further introduce ATE-Bench, covering real-world training-framework tasks. Our evaluation shows PithTrain matches the throughput of production frameworks, and on ATE-Bench, PithTrain enables higher agent-task efficiency, with up to 62% fewer Agent Turns and 64% less Active GPU Time.
Tags
Topics
MoE training systems, coding agents
Research notes
- Primary: arxiv abs (CC BY 4.0, cs.LG/AI/CL/DC). Code Apache-2.0 https://github.com/mlc-ai/pith-train (332 stars at check). CMU with NVIDIA (Shao, Chen). HF paper page 1 upvote; no linked models/datasets. ATE-Bench is a task suite over existing frameworks, not a standalone public corpus, so no datasets_local row. Discord posted abs link.
Notes about this
- Note
Mixture-of-experts language models: where the work is (overview)
An overview of the 43 entries on mixture-of-experts models: the open releases, load balancing at extreme sparsity, expert design, training and serving, and what the collection lacks. Written by Claude Opus 5.5.
Cites, within this collection
Similar entries
- Paper GLM-5: from Vibe Coding to Agentic Engineering
- Model Xor (juspay/xor) — TypeSafe-compatible System One MoE for typed decisions
- Paper FreeToken: Efficient Edge-Native MoE Serving with Bandwidth-Adaptive Execution
- Paper ID Balancing: Stable Training of Extremely Sparse MoE via PID-Based Load Control
- Model K2 Horizon: six fully open models from 0.9B to 375B (IFM)
- Paper Ling and Ring 2.6 Technical Report: Efficient and Instant Agentic Intelligence at Trillion-Parameter Scale