A Hybrid Tensor-Expert-Data Parallelism Approach to Optimize Mixture-of-Experts Training
dc.contributor.author | Singh, Siddarth | |
dc.contributor.author | Ruwase, Olatunji | |
dc.contributor.author | Awan, Ammar Ahmad | |
dc.contributor.author | Rajbhandari, Samyam | |
dc.contributor.author | He, Yuxiong | |
dc.contributor.author | Bhatele, Abhinav | |
dc.date.accessioned | 2023-09-14T19:49:28Z | |
dc.date.available | 2023-09-14T19:49:28Z | |
dc.date.issued | 2023-06-21 | |
dc.description.abstract | Mixture-of-Experts (MoE) is a neural network architecture that adds sparsely activated expert blocks to a base model, increasing the number of parameters without impacting computational costs. However, current distributed deep learning frameworks are limited in their ability to train high-quality MoE models with large base models. In this work, we present DeepSpeed-TED, a novel, threedimensional, hybrid parallel algorithm that combines data, tensor, and expert parallelism to enable the training of MoE models with 4–8× larger base models than the current state-of-the-art. We also describe memory optimizations in the optimizer step, and communication optimizations that eliminate unnecessary data movement. We implement our approach in DeepSpeed and achieve speedups of 26% over a baseline (i.e. without our communication optimizations) when training a 40 billion parameter MoE model (6.7 billion base model with 16 experts) on 128 V100 GPUs. | |
dc.description.uri | https://doi.org/10.1145/3577193.3593704 | |
dc.identifier | https://doi.org/10.13016/dspace/u6zm-83ii | |
dc.identifier.citation | Siddharth Singh, Olatunji Ruwase, Ammar Ahmad Awan, Samyam Rajbhandari, Yuxiong He, and Abhinav Bhatele. 2023. A Hybrid Tensor-Expert-Data Parallelism Approach to Optimize Mixture-of-Experts Training. In 2023 International Conference on Supercomputing (ICS ’23), June 21–23, 2023, Orlando, FL, USA. ACM, New York, NY, USA, 12 pages. | |
dc.identifier.uri | http://hdl.handle.net/1903/30507 | |
dc.language.iso | en_US | |
dc.publisher | Association for Computer Machinery (ACM) | |
dc.relation.isAvailableAt | College of Computer, Mathematical & Natural Sciences | en_us |
dc.relation.isAvailableAt | Computer Science | en_us |
dc.relation.isAvailableAt | Digital Repository at the University of Maryland | en_us |
dc.relation.isAvailableAt | University of Maryland (College Park, MD) | en_us |
dc.subject | parallel deep learning | |
dc.subject | mixture-of-experts | |
dc.subject | tensor parellelism | |
dc.subject | expert parallelism | |
dc.title | A Hybrid Tensor-Expert-Data Parallelism Approach to Optimize Mixture-of-Experts Training | |
dc.type | Article | |
local.equitableAccessSubmission | No |
Files
Original bundle
1 - 1 of 1