FusionAI: Decentralized Training and Deploying LLMs with Massive Consumer-Level GPUs

Zhenheng Tang, Yuxin Wang, Xin He, Longteng Zhang, Xinglin Pan +6 more
9/3/2023
cs.DCcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

The rapid growth of memory and computation requirements of large language models (LLMs) has outpaced the development of hardware, hindering people who lack large-scale high-end GPUs from training or deploying LLMs. However, consumer-level GPUs, which constitute a larger market share, are typically overlooked in LLM due to their weaker computing performance, smaller storage capacity, and lower communication bandwidth. Additionally, users may have privacy concerns when interacting with remote LLMs. In this paper, we envision a decentralized system unlocking the potential vast untapped consumer-level GPUs in pre-training, inference and fine-tuning of LLMs with privacy protection. However, this system faces critical challenges, including limited CPU and GPU memory, low network bandwidth, the variability of peer and device heterogeneity. To address these challenges, our system design incorporates: 1) a broker with backup pool to implement dynamic join and quit of computing providers; 2) task scheduling with hardware performance to improve system efficiency; 3) abstracting ML procedures into directed acyclic graphs (DAGs) to achieve model and task universality; 4) abstracting intermediate represention and execution planes to ensure compatibility of various devices and deep learning (DL) frameworks. Our performance analysis demonstrates that 50 RTX 3080 GPUs can achieve throughputs comparable to those of 4 H100 GPUs, which are significantly more expensive.

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. Any repos shown below are weak matches — 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{tang2023fusionai,
  title  = {FusionAI: Decentralized Training and Deploying LLMs with Massive Consumer-Level GPUs},
  author = {Zhenheng Tang and Yuxin Wang and Xin He and Longteng Zhang and Xinglin Pan and Qiang Wang and Rongfei Zeng and Kaiyong Zhao and Shaohuai Shi and Bingsheng He and Xiaowen Chu},
  year   = {2023},
  eprint = {2309.01172},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.01172v1}
}

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

Discussion