Reproduce “FlowMoE: A Scalable Pipeline Scheduling Framework for Distributed Mixture-of-Experts Training” 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

Yunqi Gao, Bing Hu, Mahdi Boloursaz Mashhadi, A-Long Jin, Yanfeng Zhang, Pei Xiao, Rahim Tafazolli, Merouane Debbah

FlowMoE, a scalable pipeline scheduling framework, accelerates distributed Mixture-of-Experts (MoE) training by unifying the pipelining of Multi-Head Attention (MHA), gating, expert computing, and both All-to-All and All-Reduce communication across entire transformer blocks. The framework achieved training speedups of 13%-57% over state-of-the-art methods, alongside 10%-39% energy savings and 7%-32% memory reductions.

Key insights

  • Comprehensive pipelining across all major computing and communication tasks within a transformer block is crucial for maximizing overlap and significantly improving distributed MoE training efficiency, moving beyond mere MoE layer-specific optimizations.
  • All-Reduce communication, often a bottleneck, can be effectively overlapped with other computing tasks by chunking tensors and assigning them lower priority, allowing them to opportunistically fill communication idle periods between A2A tasks.
  • Adaptive, automated tuning of critical hyperparameters, such as All-Reduce tensor chunk size via Bayesian Optimization, is essential for robust and optimal performance in complex distributed systems while reducing the manual configuration burden.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.