ZeroPP:通过无张量并行方法释放卓越的并行效率
ZeroPP: Unleashing Exceptional Parallelism Efficiency through Tensor-Parallelism-Free Methodology
AI总结:
ZeroPP提出无张量并行框架,结合流水线并行与全分片数据并行,在保持内存消耗的同时,相比三维并行实现高达33%的性能提升。
摘要:
大规模模型严重依赖三维并行进行分布式训练,其中利用张量并行(TP)作为算子内并行方式,将模型状态划分到多个GPU上。然而,张量并行引入了显著的通信开销以及修改单GPU代码的复杂性。在本文中,我们提出了一种无张量并行的分布式框架ZeroPP,它利用可扩展的算子间流水线并行与算子内全分片数据并行的混合方式,在规模上训练模型,从而降低内存消耗并实现高训练效率。通过大量实验,我们证明与传统的三维并行相比,ZeroPP在保持相当GPU内存消耗的同时,实现了高达33%的显著性能提升。
英文摘要:
Large-scale models rely heavily on 3D parallelism for distributed training, which utilizes tensor parallelism (TP) as the intra-operator parallelism to partition model states across GPUs. However, TP introduces significant communication overheads and complexity in modifying single-GPU code. In this paper, we propose a TP-free distributed framework ZeroPP, which leverages the hybrid of scalable inter-operator pipeline parallelism and intra-operator fully sharded data parallelism to train models at scale, reducing memory consumption and enabling high training efficiency. Through extensive experimentation, we demonstrate that ZeroPP achieves significant performance gains of up to 33% compared to conventional 3D parallelism while maintaining comparable GPU memory consumption.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。