HETHUB: A Distributed Training System with Heterogeneous Cluster for Large-Scale Models

Si Xu, Zixiao Huang, Yan Zeng, Shengen Yan, Xuefei Ning +9 more
5/25/2024
cs.DCcs.AI

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Training large-scale models relies on a vast number of computing resources. For example, training the GPT-4 model (1.8 trillion parameters) requires 25000 A100 GPUs .

Show full abstract

It is a challenge to build a large-scale cluster with one type of GPU-accelerator. Using multiple types of GPU-accelerators to construct a large-scale cluster is an effective way to solve the problem of insufficient homogeneous GPU-accelerators. However, the existing distributed training systems for large-scale models only support homogeneous GPU-accelerators, not support heterogeneous GPU-accelerators. To address the problem, this paper proposes a distributed training system with hybrid parallelism, HETHUB, for large-scale models, which supports heterogeneous cluster, including AMD, Nvidia GPU and other types of GPU-accelerators . It introduces a distributed unified communicator to realize the communication between heterogeneous GPU-accelerators, a distributed performance predictor, and an automatic parallel planner to develop and train models efficiently with heterogeneous GPU-accelerators. Compared to the distributed training system with homogeneous GPU-accelerators, our system can support six combinations of heterogeneous GPU-accelerators. We train the Llama-140B model on a heterogeneous cluster with 768 GPU-accelerators(128 AMD and 640 GPU-accelerator A). The experiment results show that the optimal performance of our system in the heterogeneous cluster has achieved up to 97.49% of the theoretical upper bound performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2024hethub,
  title  = {HETHUB: A Distributed Training System with Heterogeneous Cluster for Large-Scale Models},
  author = {Si Xu and Zixiao Huang and Yan Zeng and Shengen Yan and Xuefei Ning and Quanlu Zhang and Haolin Ye and Sipei Gu and Chunsheng Shui and Zhezheng Lin and Hao Zhang and Sheng Wang and Guohao Dai and Yu Wang},
  year   = {2024},
  eprint = {2405.16256},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.16256v2}
}

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/2405.16256.svg)](https://codeofpaper.com/paper/2405.16256)

Discussion