Skip to main navigation Skip to search Skip to main content

Towards optimal placement and scheduling of DNN operations with Pesto

  • Stony Brook University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

17 Scopus citations

Abstract

The increasing size of Deep Neural Networks (DNNs) has necessitated the use of multiple GPUs to host a single DNN model, a practice commonly referred to as model parallelism. The key challenge for model parallelism is to efficiently and effectively partition the DNN model across GPUs to avoid communication overheads while maximizing the GPU utilization, with the end-goal of minimizing the training time of DNN models. Existing approaches either take a long time(hours or even days) to find an effective partition or settle for sub-optimal partitioning, invariably increasing the end-to-end training effort. In this paper, we design and implement Pesto, a fast and near-optimal model placement technique for automatically partitioning arbitrary DNNs across multiple GPUs. The key idea in Pesto is to jointly optimize the model placement and scheduling at the fine-grained operation level to minimize inter-GPU communication while maximizing the opportunity to parallelize the model across GPUs. By carefully formulating the problem as an integer program, Pesto can provide the optimal placement and scheduling. We implement Pesto in TensorFlow and show that Pesto can reduce model training time by up to 31% compared to state-of-the-art approaches, across several large DNN models.

Original languageEnglish
Title of host publicationMiddleware 2021 - Proceedings of the 22nd International Middleware Conference
PublisherAssociation for Computing Machinery, Inc
Pages39-51
Number of pages13
ISBN (Electronic)9781450385343
DOIs
StatePublished - Nov 22 2021
Event22nd International Middleware Conference, Middleware 2021 - Virtual, Online, Canada
Duration: Dec 6 2021Dec 10 2021

Publication series

NameMiddleware 2021 - Proceedings of the 22nd International Middleware Conference

Conference

Conference22nd International Middleware Conference, Middleware 2021
Country/TerritoryCanada
CityVirtual, Online
Period12/6/2112/10/21

Keywords

  • DNN placement
  • giant DNNs
  • model parallelism
  • scheduling
  • systems for ML

Fingerprint

Dive into the research topics of 'Towards optimal placement and scheduling of DNN operations with Pesto'. Together they form a unique fingerprint.

Cite this