Colossal-AI: A Unified Deep Learning System For Large-Scale Parallel Training

Shenggui Li, Hongxin Liu, Zhengda Bian, Jiarui Fang, Haichen Huang +3 more
10/28/2021
cs.LGcs.AIcs.CL

Official code: hpcaitech/ColossalAI (41,425 stars, Python, Apache-2.0, last commit 2026-04-27).

Abstract

The success of Transformer models has pushed the deep learning model scale to billions of parameters. Due to the limited memory resource of a single GPU, However, the best practice for choosing the optimal parallel strategy is still lacking, since it requires domain expertise in both deep learning and parallel computing.

Show full abstract

The Colossal-AI system addressed the above challenge by introducing a unified interface to scale your sequential code of model training to distributed environments. It supports parallel training methods such as data, pipeline, tensor, and sequence parallelism, as well as heterogeneous training methods integrated with zero redundancy optimizer. Compared to the baseline system, Colossal-AI can achieve up to 2.76 times training speedup on large-scale models.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Making large AI models cheaper, faster and more accessible

41,4254,483Python, Cuda7 months agoApache-2.0
aibig-modeldata-parallelismdeep-learningdistributed-computing+7 more

Similar Papers

Cite this paper

@article{li2021colossalai,
  title  = {Colossal-AI: A Unified Deep Learning System For Large-Scale Parallel Training},
  author = {Shenggui Li and Hongxin Liu and Zhengda Bian and Jiarui Fang and Haichen Huang and Yuliang Liu and Boxiang Wang and Yang You},
  year   = {2021},
  eprint = {2110.14883},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14883}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.14883.svg)](https://codeofpaper.com/paper/2110.14883)

Discussion