Reproduce “BaGuaLu-2: Taming Dynamic Memory Fluctuation for Efficient MoE Model Training over 10,000 GPUs” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Mingshu Zhai, Minkun Guo, Hongrui Lian, Shuangyu Li, Qi Zhang, Chen Hu, Xiawei Du, Yuyang Jin and 2 more
BaGuaLu-2 manages activation memory during large-scale Mixture-of-Experts training by estimating operator costs, assigning pipeline-aware budgets, and choosing recomputation, CPU offloading, quantization, or no mitigation batch by batch. It schedules mitigation across adjacent micro-batches to overlap overhead. Routing spikes occur in about 2.9% of iterations. Across eight GPU scales, it reports average throughput gains of 1.14× versus Megatron-Kuai and 1.13× versus AdaPipe, on the evaluated GLM-derived models and cluster.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.