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

PDFHTML

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%.
Submitted 16 Oct 2024 to Distributed, Parallel, and Cluster Computing [cs.DC]
Published 17 Oct 2024
Subjects: cs.DC cs.OS
Author comments: 17 pages, 20 figures
https://arxiv.org/abs/2410.12588
https://arxiv.org/pdf/2410.12588.pdf
https://arxiv-vanity.com/papers/2410.12588

View this paper on arXiv.wiki:
https://arxiv.wiki/abs/2410.12588

0 comments