Lune

PPoPP2022顶会

BaGuaLu: targeting brain scale pretrained models with over 37 million cores

Zixuan Ma, Jiaao He, Jiezhong Qiu, Huanqi Cao, Yuanwei Wang, Zhenbo Sun, Liyan Zheng, Haojie Wang, Shizhi Tang, Tianyu Zheng, Junyang Lin, Guanyu Feng

摘要

Large-scale pretrained AI models have shown state-of-theart accuracy in a series of important applications. As the size of pretrained AI models grows dramatically each year in an effort to achieve higher accuracy, training such models requires massive computing and memory capabilities, which accelerates the convergence of AI and HPC. However, there are still gaps in deploying AI applications on HPC systems, which need application and system co-design based on specific hardware features.

To this end, this paper proposes BaGuaLu 1 , the first work targeting training brain scale models on an entire exascale supercomputer, the New Generation Sunway Supercomputer. By combining hardware-specific intra-node optimization and hybrid parallel strategies, BaGuaLu enables decent performance and scalability on unprecedentedly large models. The evaluation shows that BaGuaLu can train 14.5-trillionparameter models with a performance of over 1 EFLOPS using mixed-precision and has the capability to train 174trillion-parameter models, which rivals the number of synapses in a human brain.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placement 引用了 Language Models are Few-Shot Learners
  • FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placement 引用了 BASE Layers: Simplifying Training of Large, Sparse Models
  • FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placement 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Parm: Efficient Training of Large Sparsely-Activated Models with Dedicated Schedules 引用了 SmartMoE: Efficiently Training Sparsely-Activated Models through Combining Offline and Online Parallelization
  • Parm: Efficient Training of Large Sparsely-Activated Models with Dedicated Schedules 引用了 Language Models are Few-Shot Learners
  • Parm: Efficient Training of Large Sparsely-Activated Models with Dedicated Schedules 引用了 BASE Layers: Simplifying Training of Large, Sparse Models
  • Parm: Efficient Training of Large Sparsely-Activated Models with Dedicated Schedules 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • TA-MoE: Topology-Aware Large Scale Mixture-of-Expert Training 引用了 Language Models are Few-Shot Learners
  • TA-MoE: Topology-Aware Large Scale Mixture-of-Expert Training 引用了 BASE Layers: Simplifying Training of Large, Sparse Models
  • TA-MoE: Topology-Aware Large Scale Mixture-of-Expert Training 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • SmartMoE: Efficiently Training Sparsely-Activated Models through Combining Offline and Online Parallelization 引用了 ZeRO: memory optimizations toward training trillion parameter models
  • SmartMoE: Efficiently Training Sparsely-Activated Models through Combining Offline and Online Parallelization 引用了 Language Models are Few-Shot Learners
  • SmartMoE: Efficiently Training Sparsely-Activated Models through Combining Offline and Online Parallelization 引用了 BASE Layers: Simplifying Training of Large, Sparse Models
  • SmartMoE: Efficiently Training Sparsely-Activated Models through Combining Offline and Online Parallelization 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Cocktailer: Analyzing and Optimizing Dynamic Control Flow in Deep Learning 引用了 FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placement
  • BASE Layers: Simplifying Training of Large, Sparse Models 引用了 Language Models are Few-Shot Learners
  • GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. SmartMoE: Efficiently Training Sparsely-Activated Models through Combining Offline and Online ParallelizationMingshu Zhai, Jiaao He, Zixuan Ma, Zan Zong 等USENIX ATC 2023 · 96 次引用
  2. FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device PlacementXiaonan Nie, Xupeng Miao, Zilong Wang, Zichao Yang 等SIGMOD 2023 · 40 次引用
  3. TA-MoE: Topology-Aware Large Scale Mixture-of-Expert TrainingChang Chen, Min Li, Zhihua Wu, Dianhai Yu 等NeurIPS 2022 · 31 次引用
  4. Cocktailer: Analyzing and Optimizing Dynamic Control Flow in Deep LearningChen Zhang, Lingxiao Ma, Jilong Xue, Yining Shi 等OSDI 2023 · 28 次引用
  5. Parm: Efficient Training of Large Sparsely-Activated Models with Dedicated SchedulesXinglin Pan, Wenxiang Lin, Shaohuai Shi, Xiaowen Chu 等INFOCOM 2024 · 13 次引用

它引用的 Paper5

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
  3. ZeRO: memory optimizations toward training trillion parameter modelsSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong HeSC 2020 · 852 次引用
  4. MSA TransformerRoshan Rao, Jason Liu, Robert Verkuil, Joshua Meier 等ICML 2021 · 686 次引用
  5. BASE Layers: Simplifying Training of Large, Sparse ModelsMike Lewis, Shruti Bhosale, Tim Dettmers, Naman Goyal 等ICML 2021 · 382 次引用

相关 Paper

  1. Climbing the Summit and Pushing the Frontier of Mixed Precision Benchmarks at Extreme ScaleHao Lu, Michael A. Matheson, Vladyslav Oles, J. Austin Ellis 等SC 2022 · 8 次引用
  2. Scaling graph traversal to 281 trillion edges with 40 million coresHuanqi Cao, Yuanwei Wang, Haojie Wang, Heng Lin 等PPoPP 2022 · 27 次引用
  3. 5 ExaFlop/s HPL-MxP Benchmark with Linear Scalability on the 40-Million-Core Sunway SupercomputerRongfen Lin, Xinhui Yuan, Wei Xue, Wanwang Yin 等SC 2023 · 11 次引用
  4. Fire-Flyer AI-HPC: A Cost-Effective Software-Hardware Co-Design for Deep LearningWei An, Xiao Bi, Guanting Chen, Shanhuang Chen 等SC 2024 · 20 次引用
  5. ZeRO-infinity: breaking the GPU memory wall for extreme scale deep learningSamyam Rajbhandari, Olatunji Ruwase, Jeff Rasley, Shaden Smith 等SC 2021 · 254 次引用
黄昏的海面,两侧是细线勾勒的悬崖