arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.07648cs.DCcs.LG
收藏

数据中心中大型语言模型开发的特征分析

Characterization of Large Language Model Development in the Datacenter

Shanghai AI Laboratory(上海人工智能实验室);Peking University(北京大学);NTU(南洋理工大学);Shanghai Jiao Tong University(上海交通大学);SenseTime Research(商汤科技研究院);CUHK(香港中文大学)

Qinghao Hu, Zhisheng Ye, Zerui Wang, Guoteng Wang, Meng Zhang, Qiaoling Chen, Peng Sun, Dahua Lin, Xiaolin Wang, Yingwei Luo, Yonggang Wen, Tianwei Zhang

AI总结:

本文基于 Acme GPU 数据中心六个月的 LLM 开发轨迹,分析其与传统 DL 工作负载的差异、资源利用及故障影响,并提出容错预训练与评估解耦调度两项系统优化。

摘要:

大型语言模型(LLM)已在多项变革性任务中展现出令人瞩目的性能。然而,高效利用大规模集群资源来开发 LLM 并非易事,通常伴随着诸多挑战,例如频繁的硬件故障、复杂的并行化策略以及不均衡的资源利用率。本文中,我们对从 GPU 数据中心 Acme 收集的为期六个月的 LLM 开发工作负载轨迹进行了深入的特征分析研究。具体而言,我们研究了 LLM 与以往任务特定的深度学习(DL)工作负载之间的差异,探索了资源利用模式,并识别了各类作业故障的影响。我们的分析总结了所遇到的障碍,并揭示了面向 LLM 定制优化系统的潜在机会。此外,我们介绍了在系统方面的努力:(1)容错预训练,通过引入 LLM 参与的故障诊断和自动恢复来增强容错能力;(2)面向评估的解耦调度,通过试验分解和调度优化实现及时的性能反馈。

英文摘要:

Large Language Models (LLMs) have presented impressive performance across several transformative tasks. However, it is non-trivial to efficiently utilize large-scale cluster resources to develop LLMs, often riddled with numerous challenges such as frequent hardware failures, intricate parallelization strategies, and imbalanced resource utilization. In this paper, we present an in-depth characterization study of a six-month LLM development workload trace collected from our GPU datacenter Acme. Specifically, we investigate discrepancies between LLMs and prior task-specific Deep Learning (DL) workloads, explore resource utilization patterns, and identify the impact of various job failures. Our analysis summarizes hurdles we encountered and uncovers potential opportunities to optimize systems tailored for LLMs. Furthermore, we introduce our system efforts: (1) fault-tolerant pretraining, which enhances fault tolerance through LLM-involved failure diagnosis and automatic recovery. (2) decoupled scheduling for evaluation, which achieves timely performance feedback via trial decomposition and scheduling optimization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑