路径:ML的异步分布式数据流
Pathways: Asynchronous Distributed Dataflow for ML
摘要:
我们提出了一个新的大规模编排层的加速器的设计。我们的系统Pathways旨在探索新系统和ML研究思路,同时保留当前模型的最先进性能。Pathways使用异步运算符的分片图,这些运算符消耗和产生未来,并在数千个加速器上有效地调度异构并行计算,同时协调通过其专用互连的数据传输。Pathways使用了一种新颖的异步分布式并行设计,它允许控制平面并行执行,而不管数据平面中的依赖关系。经过精心设计,这种设计允许Pathways采用单控制器模型,从而更容易表达复杂的新并行模式。我们证明了Pathways在2048个TPU上运行SPMD计算时可以实现与最先进系统的性能平价(加速器利用率约为100%),同时还提供与SPMD情况相当的吞吐量Transformer模型,这些模型在16个阶段之间进行流水线连接,或者在数据中心网络上连接的两个加速器岛之间进行分片。
英文摘要:
We present the design of a new large scale orchestration layer for accelerators. Our system, Pathways, is explicitly designed to enable exploration of new systems and ML research ideas, while retaining state of the art performance for current models. Pathways uses a sharded dataflow graph of asynchronous operators that consume and produce futures, and efficiently gang-schedules heterogeneous parallel computations on thousands of accelerators while coordinating data transfers over their dedicated interconnects. Pathways makes use of a novel asynchronous distributed dataflow design that lets the control plane execute in parallel despite dependencies in the data plane. This design, with careful engineering, allows Pathways to adopt a single-controller model that makes it easier to express complex new parallelism patterns. We demonstrate that Pathways can achieve performance parity (~100% accelerator utilization) with state-of-the-art systems when running SPMD computations over 2048 TPUs, while also delivering throughput comparable to the SPMD case for Transformer models that are pipelined across 16 stages, or sharded across two islands of accelerators connected over a data center network.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。