arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.12588cs.DCcs.OS
收藏

FALCON:针对大规模混合并行训练中落后者的精准定位与缓解

FALCON: Pinpointing and Mitigating Stragglers for Large-Scale Hybrid-Parallel Training

Tianyuan Wu, Wei Wang, Yinghao Yu, Siran Yang, Wenchao Wu, Qinkai Duan, Guodong Yang, Jiamang Wang, Lin Qu, Liping Zhang

AI总结:

本文针对大规模混合并行训练中故障减速问题,提出FALCON框架,通过快速识别故障GPU和通信链路并采用多级缓解机制,在无需人工干预下实现超99%检测准确率并缓解60.1%训练减速。

摘要:

故障减速,即落后者,在跨越数千台GPU服务器并运行数周至数月的大规模混合并行训练中是常见但很大程度上被忽视的问题。然而,这些问题尚未得到充分研究,也无法被快速检测和有效缓解。本文首先在一个拥有超过10,000个GPU的共享生产集群上进行了特征研究。我们发现,故障减速由各种CPU/GPU计算和跨节点网络问题引起,持续时间从几十秒到近十小时不等,总体上将平均作业完成时间延迟了1.34%。当前的做法是手动检测这些故障减速,并简单地使用检查点与重启故障转移方法将其视为故障停止来处理,这既费时又费力。本文提出FALCON框架,能快速识别故障减速的GPU和/或通信链路,并通过新颖的多级缓解机制有效应对,全程无需人工干预。我们将FALCON应用于检测生产集群中人工标注的故障减速,准确率超过99%。集群部署进一步表明,FALCON能有效处理人工注入的故障减速,将训练减速缓解了60.1%。

英文摘要:

Fail-slows, or stragglers, are common but largely unheeded problems in large-scale hybrid-parallel training that spans thousands of GPU servers and runs for weeks to months. Yet, these problems are not well studied, nor can they be quickly detected and effectively mitigated. In this paper, we first present a characterization study on a shared production cluster with over 10,000 GPUs1. We find that fail-slows are caused by various CPU/GPU computation and cross-node networking issues, lasting from tens of seconds to nearly ten hours, and collectively delaying the average job completion time by 1.34%. The current practice is to manually detect these fail-slows and simply treat them as fail-stops using a checkpoint-and-restart failover approach, which are labor-intensive and time-consuming. In this paper, we propose FALCON, a framework that rapidly identifies fail-slowed GPUs and/or communication links, and effectively tackles them with a novel multi-level mitigation mechanism, all without human intervention. We have applied FALCON to detect human-labeled fail-slows in a production cluster with over 99% accuracy. Cluster deployment further demonstrates that FALCON effectively handles manually injected fail-slows, mitigating the training slowdown by 60.1%.

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

↑