A Generic Performance Model for Deep Learning in a Distributed Environment

Tulasi Kavarakuntla, Liangxiu Han, Huw Lloyd, Annabel Latham, Anthony Kleerekoper +1 more
5/19/2023
cs.DCcs.LGcs.PF

No confident code implementation found for this paper.

Abstract

Performance modelling of a deep learning application is essential to improve and quantify the efficiency of the model framework. However, existing performance models are mostly case-specific, with limited capability for the new deep learning frameworks/applications. In this paper, we propose a generic performance model of an application in a distributed environment with a generic expression of the application execution time that considers the influence of both intrinsic factors/operations (e.g. algorithmic parameters/internal operations) and extrinsic scaling factors (e.g. the number of processors, data chunks and batch size). We formulate it as a global optimization problem and solve it using regularization on a cost function and differential evolution algorithm to find the best-fit values of the constants in the generic expression to match the experimentally determined computation time. We have evaluated the proposed model on three deep learning frameworks (i.e., TensorFlow, MXnet, and Pytorch). The experimental results show that the proposed model can provide accurate performance predictions and interpretability. In addition, the proposed work can be applied to any distributed deep neural network without instrumenting the code and provides insight into the factors affecting performance and scalability.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kavarakuntla2023generic,
  title  = {A Generic Performance Model for Deep Learning in a Distributed Environment},
  author = {Tulasi Kavarakuntla and Liangxiu Han and Huw Lloyd and Annabel Latham and Anthony Kleerekoper and Samson B. Akintoye},
  year   = {2023},
  eprint = {2305.11665},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.11665v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.11665.svg)](https://codeofpaper.com/paper/2305.11665)

Discussion