Skip to main navigation Skip to search Skip to main content

CAPTURE: Memory-Centric Partitioning for Distributed DNN Training with Hybrid Parallelism

  • Henk Dreuning
  • , Kees Verstoep
  • , Henri E. Bal
  • , Rob V. Van Nieuwpoort

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

35 Downloads (Pure)

Abstract

Deep Learning (DL) model sizes are increasing at a rapid pace, as larger models typically offer better statistical performance. Modern Large Language Models (LLMs) and image processing models contain billions of trainable parameters. Training such massive neural networks incurs significant memory requirements and financial cost. Hybrid-parallel training approaches have emerged that combine pipelining with data and tensor parallelism to facilitate the training of large DL models on distributed hardware setups. However, existing approaches to design a hybrid-parallel partitioning and parallelization plan for DL models focus on achieving high throughput and not on minimizing memory usage and financial cost. We introduce CAPTURE, a partitioning and parallelization approach for hybrid parallelism that minimizes peak memory usage. CAPTURE combines a profiling-based approach with statistical modeling to recommend a partitioning and parallelization plan that minimizes the peak memory usage across all the Graphics Processing Units (GPUs) in the hardware setup. Our results show a reduction in memory usage of up to 43.9% compared to partitioners in state-of-the-art hybrid-parallel training systems. The reduced memory footprint enables the training of larger DL models on the same hardware resources and training with larger batch sizes. CAPTURE can also train a given model on a smaller hardware setup than other approaches, reducing the financial cost of training massive DL models.

Original languageEnglish
Title of host publication2023 IEEE 30th International Conference on High Performance Computing, Data, and Analytics (HiPC 2023)
Subtitle of host publication[Proceedings]
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages76-86
Number of pages11
ISBN (Electronic)9798350383225
ISBN (Print)9798350383232
DOIs
Publication statusPublished - 2023
Event30th Annual IEEE International Conference on High Performance Computing, Data, and Analytics, HiPC 2023 - Goa, India
Duration: 18 Dec 202321 Dec 2023

Conference

Conference30th Annual IEEE International Conference on High Performance Computing, Data, and Analytics, HiPC 2023
Country/TerritoryIndia
CityGoa
Period18/12/2321/12/23

Bibliographical note

Publisher Copyright:
© 2023 IEEE.

Keywords

  • Deep Learning
  • GPU
  • HPC
  • Hybrid Parallelism
  • Memory

Fingerprint

Dive into the research topics of 'CAPTURE: Memory-Centric Partitioning for Distributed DNN Training with Hybrid Parallelism'. Together they form a unique fingerprint.

Cite this