English

Unicron: Economizing Self-Healing LLM Training at Scale

Distributed, Parallel, and Cluster Computing 2024-01-08 v1 Machine Learning

Abstract

Training large-scale language models is increasingly critical in various domains, but it is hindered by frequent failures, leading to significant time and economic costs. Current failure recovery methods in cloud-based settings inadequately address the diverse and complex scenarios that arise, focusing narrowly on erasing downtime for individual tasks without considering the overall cost impact on a cluster. We introduce Unicron, a workload manager designed for efficient self-healing in large-scale language model training. Unicron optimizes the training process by minimizing failure-related costs across multiple concurrent tasks within a cluster. Its key features include in-band error detection for real-time error identification without extra overhead, a dynamic cost-aware plan generation mechanism for optimal reconfiguration, and an efficient transition strategy to reduce downtime during state changes. Deployed on a 128-GPU distributed cluster, Unicron demonstrates up to a 1.9x improvement in training efficiency over state-of-the-art methods, significantly reducing failure recovery costs and enhancing the reliability of large-scale language model training.

Keywords

Cite

@article{arxiv.2401.00134,
  title  = {Unicron: Economizing Self-Healing LLM Training at Scale},
  author = {Tao He and Xue Li and Zhibin Wang and Kun Qian and Jingbo Xu and Wenyuan Yu and Jingren Zhou},
  journal= {arXiv preprint arXiv:2401.00134},
  year   = {2024}
}
R2 v1 2026-06-28T14:05:00.651Z