Lune

SIGCOMM2025顶会

MegaScale-Infer: Efficient Mixture-of-Experts Model Serving with Disaggregated Expert Parallelism

Ruidong Zhu, Ziheng Jiang, Chao Jin, Peng Wu, Cesar A. Stuardo, Dongyang Wang, Xinlei Zhang, Huaping Zhou, Haoran Wei, Yang Cheng, Jianzhe Xiao, Xinyi Zhang

摘要

Mixture-of-Experts (MoE) showcases tremendous potential to scale large language models (LLMs) with enhanced performance and reduced computational complexity. However, its sparsely activated architecture shifts feed-forward networks (FFNs) from being computeintensive to memory-intensive during inference, leading to substantially lower GPU utilization and increased operational costs.

We present MegaScale-Infer, an efficient and cost-effective system for serving large-scale MoE models. MegaScale-Infer disaggregates attention and FFN modules within each model layer, enabling independent scaling, tailored parallelism strategies, and heterogeneous deployment for both modules. To fully exploit disaggregation in the presence of MoE's sparsity, MegaScale-Infer introduces pingpong pipeline parallelism, which partitions a request batch into micro-batches and shuttles them between attention and FFNs for inference. Combined with distinct model parallelism for each module, MegaScale-Infer effectively hides communication overhead and maximizes GPU utilization. To adapt to disaggregated attention and FFN modules and minimize data transmission overhead (e.g., token dispatch), MegaScale-Infer provides a high-performance M2N communication library that eliminates unnecessary GPU-to-CPU data copies, group initialization overhead, and GPU synchronization. Experimental results indicate that MegaScale-Infer achieves up to 1.90× higher per-GPU throughput than state-of-the-art solutions.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Early Silicon of Raptor: The First 3D-DRAM Accelerator for Generative Inference 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Early Silicon of Raptor: The First 3D-DRAM Accelerator for Generative Inference 引用了 DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving
  • Early Silicon of Raptor: The First 3D-DRAM Accelerator for Generative Inference 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
  • Libra: Flexible Request Partitioning and Scheduling for Serving Unbalanced and Dynamic LLM Workloads 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Libra: Flexible Request Partitioning and Scheduling for Serving Unbalanced and Dynamic LLM Workloads 引用了 DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving
  • Libra: Flexible Request Partitioning and Scheduling for Serving Unbalanced and Dynamic LLM Workloads 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
  • RollArt: Disaggregated Multi-Task Agentic RL Training at Scale 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • RollArt: Disaggregated Multi-Task Agentic RL Training at Scale 引用了 DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
  • DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
  • CHIME: A Case for Efficient Long-Context Attention-FC Disaggregated Inference with DIMM-PIM 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • CHIME: A Case for Efficient Long-Context Attention-FC Disaggregated Inference with DIMM-PIM 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • CHIME: A Case for Efficient Long-Context Attention-FC Disaggregated Inference with DIMM-PIM 引用了 Orca: A Distributed Serving System for Transformer-Based Generative Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. RollArt: Disaggregated Multi-Task Agentic RL Training at ScaleWei Gao, Yuheng Zhao, Tianyuan Wu, Shaopan Xiong 等OSDI 2026 · 16 次引用
  2. CHIME: A Case for Efficient Long-Context Attention-FC Disaggregated Inference with DIMM-PIMQingyuan Liu, Liyan Chen, Haocheng Wang, Yanning Yang 等ISCA 2026 · 6 次引用
  3. Libra: Flexible Request Partitioning and Scheduling for Serving Unbalanced and Dynamic LLM WorkloadsChaoyi Ruan, Yinhe Chen, Dongqi Tian, Yandong Shi 等NSDI 2026 · 5 次引用
  4. Early Silicon of Raptor: The First 3D-DRAM Accelerator for Generative InferencePrashant J. Nair, Ramyad Hadidi, Subramani Ganesh, Sangamesh Kodge 等ISCA 2026 · 4 次引用
  5. HeteCCL: Synthesizing Near-Optimal Collective Communication Schedules for Heterogeneous GPU ClustersChenyang Hei, Jiayi Li, Jiamin Cao, Chengxi Gao 等NSDI 2026 · 4 次引用

它引用的 Paper27

  1. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
  2. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
  3. Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
  4. Orca: A Distributed Serving System for Transformer-Based Generative ModelsGyeong-In Yu, Joo Seong Jeong, Geon-Woo Kim, Soojeong Kim 等OSDI 2022 · 690 次引用
  5. DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model ServingYinmin Zhong, Shengyu Liu, Junda Chen, Jianbo Hu 等OSDI 2024 · 646 次引用

相关 Paper

  1. MegaScale-MoE: Large-Scale Communication-Efficient Training of Mixture-of-Experts Models in ProductionChao Jin, Ziheng Jiang, Zhihao Bai, Zheng Zhong 等EuroSys 2026 · 5 次引用
  2. Klotski: Efficient Mixture-of-Expert Inference via Expert-Aware Multi-Batch PipelineZhiyuan Fang, Yuegui Huang, Zicong Hong, Yufeng Lyu 等ASPLOS 2025 · 6 次引用
  3. MoE-Lens: Towards the Hardware Limit of High-Throughput MoE LLM Serving Under Resource ConstraintsYichao Yuan, Lin Ma, Nishil TalatiHPDC 2026
  4. Taming Latency-Memory Trade-Off in MoE-Based LLM Serving via Fine-Grained Expert OffloadingHanfei Yu, Xingqi Cui, Hong Zhang, Hao Wang 等EuroSys 2026 · 1 次引用
  5. Semantic Parallelism: Redefining Efficient MoE Inference via Model-Data Co-SchedulingYan Li, Zhenyu Zhang, Zhengang Wang, Pengfei chen 等ICLR 2026 · 11 次引用
黄昏的海面,两侧是细线勾勒的悬崖