Unicron: Economizing Self-Healing LLM Training at Scale

Tao He, Xue Li, Zhibin Wang, Kun Qian, Jingbo Xu +2 more
12/30/2023
cs.DCcs.LG

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{he2023unicron,
  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},
  year   = {2023},
  eprint = {2401.00134},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.00134v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.00134.svg)](https://codeofpaper.com/paper/2401.00134)

Discussion