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 language | English |
|---|---|
| Title of host publication | 2023 IEEE 30th International Conference on High Performance Computing, Data, and Analytics (HiPC 2023) |
| Subtitle of host publication | [Proceedings] |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| Pages | 76-86 |
| Number of pages | 11 |
| ISBN (Electronic) | 9798350383225 |
| ISBN (Print) | 9798350383232 |
| DOIs | |
| Publication status | Published - 2023 |
| Event | 30th Annual IEEE International Conference on High Performance Computing, Data, and Analytics, HiPC 2023 - Goa, India Duration: 18 Dec 2023 → 21 Dec 2023 |
Conference
| Conference | 30th Annual IEEE International Conference on High Performance Computing, Data, and Analytics, HiPC 2023 |
|---|---|
| Country/Territory | India |
| City | Goa |
| Period | 18/12/23 → 21/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
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver