Fire-Flyer AI-HPC:一种经济高效的深度学习软硬件协同设计

Fire-Flyer AI-HPC: A Cost-Effective Software-Hardware Co-Design for Deep Learning

深度求索 DeepSeek-AI · DeepSeek · 2024-08-26 · arXiv:2408.14158 ↗ · 被引 24

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

深度学习和大语言模型的快速发展极大地增加了对计算能力和带宽的需求,加之高速计算芯片和互连的高成本,使得高性能计算的建设成本显著上升。为应对这些挑战,我们提出了 Fire-Flyer AI-HPC 架构,这是一种软硬件协同设计的框架及其最佳实践。在深度学习训练中,我们部署了包含一万块 PCIe A100 GPU 的 Fire-Flyer 2,实现了接近 DGX-A100 的性能,同时成本减半、能耗降低 40%。我们专门设计了 HFReduce 来加速 allreduce 通信,并采取了多种措施确保计算-存储集成网络无拥塞。通过我们的软件栈,包括 HaiScale、3FS 和 HAI-Platform,我们通过计算与通信的重叠实现了显著的可扩展性。我们从深度学习训练中获得的系统级经验为未来 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.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 32)

阅读逐段中英对照全文 →