ResiHP: 通过动态混合并行性缓解LLM训练故障
ResiHP: Taming LLM Training Failures with Dynamic Hybrid Parallelism
AI总结:
ResiHP通过动态调整并行组大小、模型分区和工作负载调度策略,提升混合并行训练的鲁棒性和效率,实验显示在不同故障场景下训练吞吐量提升1.04-4.39倍。
摘要:
混合并行性是支撑大规模LLM训练的关键,但在大规模GPU集群中,单个设备的硬件故障会导致设备间性能偏斜,降低整体训练效率。现有容错系统忽略了数据集序列长度变化和混合并行性下的设备性能偏斜。为此,本文提出ResiHP,一种能够实现鲁棒故障检测和细粒度适应的容错系统。首先,我们开发了一个检测器,通过工作负载感知的执行时间预测器准确识别故障,同时保持轻量级的在线检测。其次,我们设计了一个调度器,动态调整并行组大小、模型分区和工作负载调度策略,以在故障情况下提高训练效率。实验表明,在256 GPU集群中,ResiHP在不同故障场景下相比现有容错训练系统,训练吞吐量提升了1.04-4.39倍。
英文摘要:
Hybrid parallelism underpins large-scale LLM training across tens of thousands of GPUs. At such scale, hardware failures on individual devices lead to performance skew across devices, diminishing overall training efficiency. Existing resilient systems overlook sequence length variability in datasets and device performance skew under hybrid parallelism. As a result, (1) iteration time fluctuations induced by sequence length variability can trigger spurious fail-slow detections, and (2) failures are mitigated through individual adaptations in hybrid parallelism, leading to unnecessary detection overhead and inefficient resilient training. To respond, this paper presents ResiHP, a resilient system that enables robust failure detection and fine-grained adaptation for hybrid parallel training. First, we develop a Detector to accurately identify failures. In particular, it employs a workload-aware execution time predictor that disentangles failures from iteration time fluctuations while remaining lightweight for online detection. Second, we design a Scheduler that dynamically adapts parallelism group sizes, model partitioning, and workload scheduling policies to improve training efficiency under failures. Experiments show that ResiHP improves training throughput by 1.04-4.39$\times$ compared with state-of-the-art resilient training systems under diverse failure scenarios in a 256-GPU cluster.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。