Pipelined Model Parallelism: Complexity Results and Memory ConsiderationsOpen Website

Published: 2021, Last Modified: 14 May 2023Euro-Par 2021Readers: Everyone
Abstract: The training phase in Deep Neural Networks has become an important source of computing resource usage and the resulting volume of computation makes it crucial to perform efficiently on parallel architectures. Data parallelism is the most widely used method, but it requires to replicate the network weights on all processors, and to perform collective communications of the network weights. In this context, model parallelism is an attractive alternative, in which the different layers of the network are distributed over the computing processors. Indeed, it is expected to better distribute weights (to cope with memory problems) and it eliminates the need for large collective communications since only forward activations are communicated. However, to be efficient, it must be combined with pipelining, which in turn induces new memory costs. In this paper, our goal is to formalize pipelined model parallelism as a scheduling problem, to establish its complexity, and to analyze the importance of the assumptions of contiguity and 1-periodicity, implicitly made in practical solutions such as PipeDream.
0 Replies

Loading