FusionAI: Decentralized Training and Deploying LLMs with Massive Consumer-Level GPUs
Hong Kong Baptist University(香港浸会大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Northeastern University(东北大学);National University of Singapore(新加坡国立大学);XGRIDS;HKUST(GZ)(香港科技大学(广州))
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.
DisagFusion: Asynchronous Pipeline Parallelism and Elastic Scheduling for Disaggregated Diffusion Serving
Renmin University of China(中国人民大学);SenseTime(商汤科技);Peking University(北京大学);Hong Kong University of Science and Technology(香港科技大学);Beihang University(北京航空航天大学)
ElastiCo: Elastic Configuration and Interference-Aware Orchestration for GPU Clusters
School of Software, Beihang University(北京航空航天大学软件学院);School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与技术学院);School of Computer Science, University of Leeds(利兹大学计算机学院);School of Computer Science, University of Sydney(悉尼大学计算机学院)
CGX: Adaptive System Support for Communication-Efficient Deep Learning
Institute of Science and Technology Austria(奥地利科学技术研究所);University of British Columbia(不列颠哥伦比亚大学)
扩展训练工作负载的能力一直是深度学习的关键性能推动因素之一。主要的扩展方法是基于GPU的数据并行训练,这是通过硬件和软件支持高效的点对点通信,特别是通过硬件带宽预留来推动的。过度配置是有代价的:相对于流行的“消费级”服务器,具有这种支持的“云级”服务器之间存在数量级的价格差异,尽管单个服务器级和消费级GPU可以具有类似的计算包络。在本文中,我们证明了昂贵的硬件过度配置方法可以通过算法和系统设计来取代,并提出了一个名为CGX的框架,该框架为ML应用程序中的压缩通信提供了有效的软件支持,用于多GPU单节点训练以及更大规模的多节点训练。CGX基于两项技术进步:\emph{At the system level},它依赖于重新开发的ML框架通信堆栈,为压缩通信提供灵活,高效的支持。\emph{At the application level},它提供了\emph{seamless, parameter-free}与流行框架的集成,因此最终用户不必修改培训食谱,也不必修改重要的培训代码。这由\emph{layer-wise adaptive compression}技术补充,该技术动态地平衡压缩增益与精度保持。CGX与流行的ML框架集成,为基于商用硬件的多GPU节点提供高达3倍的加速,并在多节点设置中进行了数量级改进,对准确性的影响可以忽略不计。