DaiFu:深度学习系统的原位崩溃恢复
DaiFu: In-Situ Crash Recovery for Deep Learning Systems
AI总结:
DaiFu通过轻量级代码变换实现DL系统崩溃的原位拦截与运行上下文动态更新,以极低开销实现比现有方案快1372倍的敏捷恢复。
摘要:
深度学习(DL)系统已在许多领域得到广泛应用,并随着大语言模型的出现而变得更加流行。然而,由于其开发与执行过程中涉及复杂的软件栈,崩溃不可避免且十分常见。崩溃严重浪费计算资源并阻碍开发效率,因此高效的崩溃恢复至关重要。现有解决方案(如检查点重试)对于由轻微编程错误或瞬时运行时错误引起的崩溃而言过于重量级,难以实现快速恢复。为此,我们提出了DaiFu,一个面向DL系统的原位恢复框架。DaiFu通过对给定DL系统进行轻量级代码变换,使其能够在原位拦截崩溃,并支持对其程序运行上下文(例如代码、配置及其他数据)进行动态即时更新,从而实现敏捷的崩溃恢复。我们的评估表明,DaiFu有助于缩短崩溃恢复的还原时间,与最先进的解决方案相比实现了1372倍的加速。同时,DaiFu的开销可忽略不计(低于0.40%)。我们还构建了一个涵盖DL系统中7种不同崩溃场景的基准,并展示了DaiFu在多种情况下的有效性。
英文摘要:
Deep learning (DL) systems have been widely adopted in many areas, and are becoming even more popular with the emergence of large language models. However, due to the complex software stacks involved in their development and execution, crashes are unavoidable and common. Crashes severely waste computing resources and hinder development productivity, so efficient crash recovery is crucial. Existing solutions, such as checkpoint-retry, are too heavyweight for fast recovery from crashes caused by minor programming errors or transient runtime errors. Therefore, we present DaiFu, an in-situ recovery framework for DL systems. Through a lightweight code transformation to a given DL system, DaiFu augments it to intercept crashes in situ and enables dynamic and instant updates to its program running context (e.g., code, configurations, and other data) for agile crash recovery. Our evaluation shows that DaiFu helps reduce the restore time for crash recovery, achieving a 1372x speedup compared with state-of-the-art solutions. Meanwhile, the overhead of DaiFu is negligible (under 0.40%). We also construct a benchmark spanning 7 distinct crash scenarios in DL systems, and show the effectiveness of DaiFu in diverse situations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。