跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2102.07988 (cs)
[提交于 2021年2月16日 (v1),最后修订于 2021年9月28日 (此版本, v2)]

标题:TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Models

作者:Zhuohan Li, Siyuan Zhuang, Shiyuan Guo, Danyang Zhuo, Hao Zhang, Dawn Song, Ion Stoica
查看论文《TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Models》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Model parallelism has become a necessity for training modern large-scale deep language models. In this work, we identify a new and orthogonal dimension from existing model parallel approaches: it is possible to perform pipeline parallelism within a single training sequence for Transformer-based language models thanks to its autoregressive property. This enables a more fine-grained pipeline compared with previous work. With this key idea, we design TeraPipe, a high-performance token-level pipeline parallel algorithm for synchronous model-parallel training of Transformer-based language models. We develop a novel dynamic programming-based algorithm to calculate the optimal pipelining execution scheme given a specific model and cluster configuration. We show that TeraPipe can speed up the training by 5.0x for the largest GPT-3 model with 175 billion parameters on an AWS cluster with 48 p3.16xlarge instances compared with state-of-the-art model-parallel methods. The code for reproduction can be found at https://github.com/zhuohan123/terapipe
评论: ICML 2021
主题: 机器学习 (cs.LG); 计算与语言 (cs.CL); 分布式、并行与集群计算 (cs.DC)
引用方式: arXiv:2102.07988 [cs.LG]
  (或者 arXiv:2102.07988v2 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2102.07988

提交历史

来自:Zhuohan Li
[v1] 2021年2月16日 星期二 07:34:32 UTC
[v2] 2021年9月28日 星期二 05:04:28 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-09
切换浏览方式为:
cs.LG
cs.CL
cs.DC

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站