一个具有弹性的分布式训练框架
Oobleck
Resilient Distributed Training Framework
Oobleck is a large-model training framework with fast fault recovery support utilizing the concept of pipeline templates.
It is the first training framework that realizes:
Use pip to install Oobleck:
pip install oobleckOobleck relies on cornstarch for pipeline template and Colossal-AI for training backend.
Optionally, install apex, xformers and flash-attn to boost throughput (follow instructions in each README).
Please refer to this README.
Oobleck provides a command line interface (CLI) that manages the cluster. Use oobleck to access the master agent:
$ oobleck --ip --port where master port can be found in stdout of running:
| INFO | __main__:serve:430 - Running master service on port 45145Currently you can see the list of agents and send a request to gracefully terminate an agent:
$ oobleck --ip --port get_agent_list
=== Agents ===
[0] IP: node1:10000 Status: up (device indices: 0,1)
[1] IP: node1:10000 Status: up (device indices: 2,3)
[2] IP: node2:10000 Status: up (device indices: 0,1)
[3] IP: node2:10000 Status: up (device indices: 2,3)
==============
$ oobleck --ip --port kill_agent --agent_index 2
| INFO | __main__:KillAgent:340 - Terminating agent 2 on node1:10000@inproceedings{oobleck-sosp23,
title = {Oobleck: Resilient Distributed Training of Large Models Using Pipeline Templates},
author = {Jang, Insu and Yang, Zhenning and Zhang, Zhen and Jin, Xin and Chowdhury, Mosharaf},
booktitle = {ACM SIGOPS 29th Symposium of Operating Systems and Principles (SOSP '23)},
year = {2023},
}暂无开放 Issues,或尚未同步最近议题。