Towards Universal Performance Modeling for Machine Learning Training on Multi-GPU Platforms
Not on the map. Why?
Abstract (arXiv)
Characterizing and predicting the training performance of modern machine learning (ML) workloads on compute systems with compute and communication spread between CPUs, GPUs, and network devices is not only the key to optimization and planning but also a complex goal to achieve. The primary challenges include the complexity of synchronization and load balancing between CPUs and GPUs, the variance in input data distribution, and the use of different communication devices and topologies (e.g., NVLink, PCIe, network cards) that connect multiple compute devices, coupled with the desire for flexible training configurations. Built on top of our prior work for single-GPU platforms, we address these challenges and enable multi-GPU performance modeling by incorporating (1) data-distribution-aware performance models for embedding table lookup, and (2) data movement prediction of communication collectives, into our upgraded performance modeling pipeline equipped with inter-and intra-rank synchronization for ML workloads trained on multi-GPU platforms. Beyond accurately predicting the per-iteration training time of DLRM models with random configurations with a geomean error of 5.21% on two multi-GPU platforms, our prediction pipeline generalizes well to other types of ML workloads, such as Transformer-based NLP models with a geomean error of 3.00%. Moreover, even without actually running ML workloads like DLRMs on the hardware, it is capable of generating insights such as quickly selecting the fastest embedding table sharding configuration (with a success rate of 85%).
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 23 of its 41 references that are in the map. First posted on arXiv 19 Apr 2024.
Builds on
23 of 41 references.
References · 23
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
- 2021Software-Hardware Co-design for Fast and Scalable Training of Deep Learning Recommendation Modelscited by 78
- 2018Predicting the Computational Cost of Deep Learning Modelscited by 49
- 2019Evaluating Modern GPU Interconnect: PCIe, NVLink, NV-SLI, NVSwitch and GPUDirectcited by 41
11 more
- 2021FBGEMM: Enabling High-Performance Low-Precision Deep Learning Inferencecited by 40
- 2020Understanding Capacity-Driven Scale-Out Neural Recommendation Inferencecited by 29
- 2021A Runtime-Based Computational Performance Predictor for Deep Neural Network Trainingcited by 29
- 2022RecShard: Statistical Feature-Based Memory Optimization for Industry-Scale Neural Recommendationcited by 28
- 2022AutoShard: Automated Embedding Table Sharding for Recommender Systemscited by 17
- 2022DreamShard: Generalizable Embedding Table Placement for Recommender Systemscited by 14
- 2023Chakra: Advancing Performance Benchmarking and Co-design using Standardized Execution Tracescited by 13
- 2019Characterizing Deep Learning Training Workloads on Alibaba-PAIcited by 11
- 2022Building a Performance Model for Deep Learning Recommendation Model Training on GPUscited by 10
- 2020Characterizing and Modeling Distributed Training with Transient Cloud GPU Serverscited by 8
- 2021perf4sight: A toolflow to model CNN training performance on Edge GPUscited by 4
Built on by
Citing papers per year: 2024: 1.
1 paper.