Lune

INFOCOM2024顶会

Parm: Efficient Training of Large Sparsely-Activated Models with Dedicated Schedules

Xinglin Pan, Wenxiang Lin, Shaohuai Shi, Xiaowen Chu, Weinong Sun, Bo Li

摘要

Sparsely-activated Mixture-of-Expert (MoE) layers have found practical applications in enlarging the model size of large-scale foundation models, with only a sub-linear increase in computation demands. Despite the wide adoption of hybrid parallel paradigms like model parallelism, expert parallelism, and expert-sharding parallelism (i.e., MP+EP+ESP) to support MoE model training on GPU clusters, the training efficiency is hindered by communication costs introduced by these parallel paradigms. To address this limitation, we propose Parm, a system that accelerates MP+EP+ESP training by designing two dedicated schedules for placing communication tasks. The proposed schedules eliminate redundant computations and communications and enable overlaps between intra-node and inter-node communications, ultimately reducing the overall training time. As the two schedules are not mutually exclusive, we provide comprehensive theoretical analyses and derive an automatic and accurate solution to determine which schedule should be applied in different scenarios. Experimental results on an 8-GPU server and a 32-GPU cluster demonstrate that Parm outperforms the state-of-the-art MoE training system, DeepSpeed-MoE, achieving 1.13× to 5.77× speedup on 1296 manually configured MoE layers and approximately 3× improvement on two real-world MoE models based on BERT and GPT-2.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • HierMoE: Accelerating MoE Training with Hierarchical Token Deduplication and Expert Swap 引用了 FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models
  • HierMoE: Accelerating MoE Training with Hierarchical Token Deduplication and Expert Swap 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • HierMoE: Accelerating MoE Training with Hierarchical Token Deduplication and Expert Swap 引用了 Mixture-of-Experts with Expert Choice Routing
  • Efficient large-scale language model training on GPU clusters using megatron-LM 引用了 Language Models are Few-Shot Learners
  • PaLM-E: An Embodied Multimodal Language Model 引用了 Language Models are Few-Shot Learners
  • MoEntwine: Unleashing the Potential of Wafer-Scale Chips for Large-Scale Expert Parallel Inference 引用了 FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models
  • MoEntwine: Unleashing the Potential of Wafer-Scale Chips for Large-Scale Expert Parallel Inference 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • SYMI: Efficient Mixture-of-Experts Training via Model and Optimizer State Decoupling 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
  • SYMI: Efficient Mixture-of-Experts Training via Model and Optimizer State Decoupling 引用了 FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models
  • SYMI: Efficient Mixture-of-Experts Training via Model and Optimizer State Decoupling 引用了 Language Models are Few-Shot Learners
  • SYMI: Efficient Mixture-of-Experts Training via Model and Optimizer State Decoupling 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • SYMI: Efficient Mixture-of-Experts Training via Model and Optimizer State Decoupling 引用了 Mixture-of-Experts with Expert Choice Routing
  • FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
  • FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models 引用了 PaLM-E: An Embodied Multimodal Language Model
  • FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models 引用了 Language Models are Few-Shot Learners
  • FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models 引用了 Mixture-of-Experts with Expert Choice Routing
  • Director: Accelerating Distributed MoE Serving via Online Proactive Expert Placement 引用了 FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models
  • Director: Accelerating Distributed MoE Serving via Online Proactive Expert Placement 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding 引用了 Language Models are Few-Shot Learners
  • Mixture-of-Experts with Expert Choice Routing 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts ModelsXinglin Pan, Wenxiang Lin, Lin Zhang, Shaohuai Shi 等ASPLOS 2025 · 12 次引用
  2. HierMoE: Accelerating MoE Training with Hierarchical Token Deduplication and Expert SwapWenxiang Lin, Xinglin Pan, Lin Zhang, Shaohuai Shi 等INFOCOM 2026 · 7 次引用
  3. SYMI: Efficient Mixture-of-Experts Training via Model and Optimizer State DecouplingAthinagoras Skiadopoulos, Mark Zhao, Swapnil Gandhi, Thomas Norrie 等NSDI 2026 · 6 次引用
  4. MoEntwine: Unleashing the Potential of Wafer-Scale Chips for Large-Scale Expert Parallel InferenceXinru Tang, Jingxiang Hou, Dingcheng Jiang, Taiquan Wei 等HPCA 2026 · 4 次引用
  5. Director: Accelerating Distributed MoE Serving via Online Proactive Expert PlacementQianli Liu, Kaibin Guo, Zicong Hong, Peng Li 等INFOCOM 2026

它引用的 Paper18

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. PaLM-E: An Embodied Multimodal Language ModelDanny Driess, Fei Xia, Mehdi S. M. Sajjadi, Corey Lynch 等ICML 2023 · 2,601 次引用
  3. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
  4. Mixture-of-Experts with Expert Choice RoutingYanqi Zhou, Tao Lei, Hanxiao Liu, Nan Du 等NeurIPS 2022 · 933 次引用
  5. Efficient large-scale language model training on GPU clusters using megatron-LMDeepak Narayanan, Mohammad Shoeybi, Jared Casper, Patrick LeGresley 等SC 2021 · 576 次引用

相关 Paper

  1. ScheMoE: An Extensible Mixture-of-Experts Distributed Training System with Tasks SchedulingShaohuai Shi, Xinglin Pan, Qiang Wang, Chengjian Liu 等EuroSys 2024 · 26 次引用
  2. SP-MoE: Expediting Mixture-of-Experts Training with Optimized Pipelining PlanningNe Wang, Wenxiang Lin, Lin Zhang, Shaohuai Shi 等INFOCOM 2025 · 7 次引用
  3. Shortcut-connected Expert Parallelism for Accelerating Mixture of ExpertsWeilin Cai, Juyong Jiang, Le Qin, Junwei Cui 等ICML 2025
  4. Janus: A Unified Distributed Training Framework for Sparse Mixture-of-Experts ModelsJuncai Liu, Jessie Hui Wang, Yimin JiangSIGCOMM 2023 · 46 次引用
  5. Scaling Beyond the GPU Memory Limit for Large Mixture-of-Experts Model TrainingYechan Kim, Hwijoon Lim, Dongsu HanICML 2024 · 10 次引用
黄昏的海面,两侧是细线勾勒的悬崖