Fire-Flyer AI-HPC:面向深度学习的成本效益型软硬件协同设计
Fire-Flyer AI-HPC: A Cost-Effective Software-Hardware Co-Design for Deep Learning
AI总结:
本文提出 Fire-Flyer AI-HPC 软硬件协同设计架构,通过万卡 PCIe A100 集群、HFReduce 通信加速及计算通信重叠,以一半成本和更低能耗实现接近 DGX-A100 的性能。
摘要:
深度学习(DL)和大语言模型(LLMs)的快速进展使算力和带宽需求呈指数级增长。这一趋势与更快计算芯片和互连设备的高昂成本叠加,显著推高了高性能计算(HPC)的建设成本。为应对这些挑战,我们提出 Fire-Flyer AI-HPC 架构,这是一个软硬件协同设计的协同框架及其最佳实践。针对 DL 训练,我们部署了配备 10,000 个 PCIe A100 GPU 的 Fire-Flyer 2,其性能接近 DGX-A100,同时成本降低一半,能耗降低 40%。我们专门设计了 HFReduce 以加速 allreduce 通信,并实施了多项措施以保持计算-存储一体化网络无拥塞。通过我们的软件栈,包括 HaiScale、3FS 和 HAI-Platform,我们通过计算与通信重叠实现了显著的可扩展性。我们在 DL 训练中获得的系统导向经验为推动 AI-HPC 的未来发展提供了宝贵见解。
英文摘要:
The rapid progress in Deep Learning (DL) and Large Language Models (LLMs) has exponentially increased demands of computational power and bandwidth. This, combined with the high costs of faster computing chips and interconnects, has significantly inflated High Performance Computing (HPC) construction costs. To address these challenges, we introduce the Fire-Flyer AI-HPC architecture, a synergistic hardware-software co-design framework and its best practices. For DL training, we deployed the Fire-Flyer 2 with 10,000 PCIe A100 GPUs, achieved performance approximating the DGX-A100 while reducing costs by half and energy consumption by 40%. We specifically engineered HFReduce to accelerate allreduce communication and implemented numerous measures to keep our Computation-Storage Integrated Network congestion-free. Through our software stack, including HaiScale, 3FS, and HAI-Platform, we achieved substantial scalability by overlapping computation and communication. Our system-oriented experience from DL training provides valuable insights to drive future advancements in AI-HPC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。