ZeRO: Memory optimizations Toward Training Trillion Parameter Models

计算机科学 加速 并行计算 零(语言学) 计算 数据并行性 计算机工程 比例(比率) 吞吐量 平行性(语法) 算法 电信 物理 哲学 量子力学 无线 语言学
作者
Samyam Rajbhandari,Jeff Rasley,Olatunji Ruwase,Yuxiong He
标识
DOI:10.1109/sc41405.2020.00024
摘要

Large deep learning models offer significant accuracy gains, but training billions to trillions of parameters is challenging. Existing solutions such as data and model parallelisms exhibit fundamental limitations to fit these models into limited device memory, while obtaining computation, communication and development efficiency. We develop a novel solution, Zero Redundancy Optimizer (ZeRO), to optimize memory, vastly improving training speed while increasing the model size that can be efficiently trained. ZeRO eliminates memory redundancies in data- and model-parallel training while retaining low communication volume and high computational granularity, allowing us to scale the model size proportional to the number of devices with sustained high efficiency. Our analysis on memory requirements and communication volume demonstrates: ZeRO has the potential to scale beyond 1 Trillion parameters using today's hardware. We implement and evaluate ZeRO: it trains large models of over 100B parameter with super-linear speedup on 400 GPUs, achieving throughput of 15 Petaflops. This represents an 8x increase in model size and 10x increase in achievable performance over state-of-the-art. In terms of usability, ZeRO can train large models of up to 13B parameters (e.g., larger than Megatron GPT 8. 3B and T5 11B) without requiring model parallelism which is harder for scientists to apply. Last but not the least, researchers have used the system breakthroughs of ZeRO to create Turing-NLG, the world's largest language model at the time (17B parameters) with record breaking accuracy.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
慕青应助典雅的静采纳,获得10
刚刚
难过的小甜瓜完成签到,获得积分10
刚刚
犹豫野狼完成签到 ,获得积分10
刚刚
怡然新梅完成签到,获得积分10
刚刚
Regulus完成签到,获得积分10
1秒前
满座完成签到,获得积分10
1秒前
奋斗的秋珊完成签到,获得积分10
1秒前
yulong完成签到,获得积分10
1秒前
煜钧完成签到,获得积分10
1秒前
若俗人完成签到,获得积分10
2秒前
l6h6z6完成签到,获得积分20
2秒前
2秒前
阿迪完成签到,获得积分10
2秒前
怕孤独的冰淇淋完成签到,获得积分10
2秒前
胡桃完成签到 ,获得积分10
2秒前
Qin完成签到,获得积分10
2秒前
豆杀包完成签到,获得积分10
2秒前
psl完成签到,获得积分20
3秒前
3秒前
wbx完成签到,获得积分10
3秒前
Matberry完成签到 ,获得积分10
3秒前
聪明大米完成签到,获得积分10
4秒前
Dawn完成签到 ,获得积分10
4秒前
独特的豌豆完成签到,获得积分10
4秒前
cnyyp完成签到,获得积分10
4秒前
陶醉书包完成签到,获得积分10
4秒前
xiaokuo完成签到,获得积分10
4秒前
4秒前
可靠的纸鹤完成签到,获得积分10
5秒前
馆长应助LH采纳,获得20
5秒前
5秒前
失踪的卢汪汪完成签到,获得积分10
5秒前
12138发布了新的文献求助10
6秒前
很难睡醒完成签到,获得积分10
6秒前
xzx7086完成签到,获得积分10
6秒前
7秒前
疯狂的吐司完成签到 ,获得积分10
7秒前
jojo完成签到,获得积分10
7秒前
署丽盼发布了新的文献求助10
7秒前
我是老大应助小圆子采纳,获得10
7秒前
高分求助中
计划经济时代的工厂管理与工人状况(1949-1966)——以郑州市国营工厂为例 500
INQUIRY-BASED PEDAGOGY TO SUPPORT STEM LEARNING AND 21ST CENTURY SKILLS: PREPARING NEW TEACHERS TO IMPLEMENT PROJECT AND PROBLEM-BASED LEARNING 500
The Pedagogical Leadership in the Early Years (PLEY) Quality Rating Scale 410
Writing to the Rhythm of Labor Cultural Politics of the Chinese Revolution, 1942–1976 300
Lightning Wires: The Telegraph and China's Technological Modernization, 1860-1890 250
Psychology for Teachers 220
On the Validity of the Independent-Particle Model and the Sum-rule Approach to the Deeply Bound States in Nuclei 220
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 催化作用 遗传学 冶金 电极 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 4598273
求助须知:如何正确求助?哪些是违规求助? 4009452
关于积分的说明 12411277
捐赠科研通 3688841
什么是DOI,文献DOI怎么找? 2033499
邀请新用户注册赠送积分活动 1066749
科研通“疑难数据库(出版商)”最低求助积分说明 951856