Oobleck: Resilient Distributed Training of Large Models Using Pipeline Templates

Insu Jang, Zhenning Yang, Zhen Zhang, Xin Jin, Mosharaf Chowdhury
9/15/2023
cs.DCcs.LG

Official code: SymbioticLab/Oobleck (100 stars, Apache-2.0, last commit 2024-04-11).

Abstract

Oobleck enables resilient distributed training of large DNN models with guaranteed fault tolerance. It takes a planning-execution co-design approach, where it first generates a set of heterogeneous pipeline templates and instantiates at least $f+1$ logically equivalent pipeline replicas to tolerate any $f$ simultaneous failures. During execution, it relies on already-replicated model states across the replicas to provide fast recovery. Oobleck provably guarantees that some combination of the initially created pipeline templates can be used to cover all available resources after $f$ or fewer simultaneous failures, thereby avoiding resource idling at all times. Evaluation on large DNN models with billions of parameters shows that Oobleck provides consistently high throughput, and it outperforms state-of-the-art fault tolerance solutions like Bamboo and Varuna by up to $29.6x$.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A resilient distributed training framework

10012Rust, ShellMar 8, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{jang2023oobleck,
  title  = {Oobleck: Resilient Distributed Training of Large Models Using Pipeline Templates},
  author = {Insu Jang and Zhenning Yang and Zhen Zhang and Xin Jin and Mosharaf Chowdhury},
  year   = {2023},
  eprint = {2309.08125},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.08125v2}
}

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/2309.08125.svg)](https://codeofpaper.com/paper/2309.08125)

Discussion