FastMoE: A Fast Mixture-of-Expert Training System

By Jiaao He, Jiezhong Qiu, Aohan Zeng, Zhilin Yang, Jidong Zhai, Jie Tang. 2021

148 citations recorded by the source corpus.

Mixture-of-Expert (MoE) presents a strong potential in enlarging the size of language model to trillions of parameters. However, training trillion-scale MoE requires algorithm and system co-design for a well-tuned high performance distributed training system. Unfortunately, the only existing platform that meets the requirements strongly depends on Google's hardware (TPU) and software (Mesh Tensorflow) stack, and is not open and available to the public, especially GPU and PyTorch communities. In this paper, we present FastMoE, a distributed MoE training system based on PyTorch with common accelerators. The system provides a hierarchical interface for both flexible model design and easy adaption to different applications, such as Transformer-XL and Megatron-LM. Different from direct implementation of MoE models using PyTorch, the training speed is highly optimized in FastMoE by sophisticated high-performance acceleration skills. The system supports placing different experts on multiple GPUs across multiple nodes, enabling enlarging the number of experts linearly against the number of GPUs. The source of FastMoE is available at https://github.com/laekov/fastmoe under Apache-2 license.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Zhiyuan Liu
  2. Maosong Sun
  3. Minlie Huang
  4. Jie Tang
  5. Jianfeng Gao
  6. Xu Han
  7. Xipeng Qiu
  8. Wayne Xin Zhao

In Computer Vision and Pattern Recognition

  1. Lu Yuan
  2. Jianfeng Gao
  3. Luc Van Gool
  4. Xiyang Dai
  5. Steven C. H. Hoi
  6. Dacheng Tao
  7. Dongdong Chen
  8. Ming-Hsuan Yang

Citations in the corpus