arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.03699cs.DCcs.LG
收藏

分布式基础设施上的模型并行:从理论到LLM案例研究的文献综述

Model Parallelism on Distributed Infrastructure: A Literature Review from Theory to LLM Case-Studies

Informatics Institute, University of Amsterdam(阿姆斯特丹大学信息学研究所);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学);Radboud University(拉德堡德大学);National Institute for Subatomic Physics (Nikhef)(国家亚原子物理研究所(Nikhef));University of Twente(屯特大学)

Felix Brakel, Uraz Odyurt, Ana-Lucia Varbanescu

AI总结:

本文是一篇模型并行文献综述,梳理了算子内、算子间两类模型并行维度,总结了实现与算子图最优划分的挑战,并结合公开信息介绍了其在数十亿参数Transformer网络中的应用。

摘要:

神经网络已成为机器学习的基石。随着其复杂度持续提升,用于训练和部署的底层软硬件基础设施也在不断发展。本综述回答了三个研究问题:“存在哪些类型的模型并行?”“模型并行面临哪些挑战?”以及“模型并行的现代用例是什么?” 针对第一个问题,我们研究了神经网络的并行化方式,将其表示为算子图并探索了可行的并行维度,这些维度分为算子内并行和算子间并行。针对第二个问题,我们收集并列举了各类并行方式的实现挑战,以及算子图最优划分的问题。针对最后一个问题,我们收集并列举了并行技术在现代数十亿参数Transformer网络中的应用情况——鉴于这些网络公开信息有限,我们仅在可获取的信息范围内进行梳理。

英文摘要:

Neural networks have become a cornerstone of machine learning. As the trend for these to get more and more complex continues, so does the underlying hardware and software infrastructure for training and deployment. In this survey we answer three research questions: "What types of model parallelism exist?", "What are the challenges of model parallelism?", and "What is a modern use-case of model parallelism?" We answer the first question by looking at how neural networks can be parallelised and expressing these as operator graphs while exploring the available dimensions. The dimensions along which neural networks can be parallelised are intra-operator and inter-operator. We answer the second question by collecting and listing both implementation challenges for the types of parallelism, as well as the problem of optimally partitioning the operator graph. We answer the last question by collecting and listing how parallelism is applied in modern multi-billion parameter transformer networks, to the extend that this is possible with the limited information shared about these networks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑