NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Analysis of model parallelism for distributed neural networks

Adrián Castelló, Manuel F. Dolz, Enrique S. Quintana-Ortí, José Duato

Abstract

We analyze the performance of model parallelism applied to the training of deep neural networks on clusters. For this study, we elaborate a parameterized analytical performance model that captures the main computational and communication stages in distributed model parallel training. This model is then leveraged to assess the impact on the performance of four representative convolutional neural networks (CNNs) when varying the node throughput in terms of operations per second and memory bandwidth, the number of nodes of the cluster, the bandwidth of the network links, and algorithmic parameters such as the dimension of the batch. As a second contribution of this paper, we discuss the need for specialized collective communication variants of the MPI_Allgather and MPI_Allreduce primitives where the number of "contributing" processes differs from the number of processes receiving a copy/part of the result during training. Furthermore, we analyze the effect that the actual implementation of the algorithms underlying the collective communication primitives exert on the performance of the distributed model parallel realization of the selected CNNs.
BibTeX
@inproceedings{castello2019analysis,
  author = {Adrián Castelló and Manuel F. Dolz and Enrique S. Quintana-Ortí and José Duato},
  title = {{Analysis of model parallelism for distributed neural networks}},
  booktitle = {EuroMPI},
  year = {2019},
  doi = {10.1145/3343211.3343218},
}

Loading related content...

Figure