Embedding Optimization for Training Large-scale Deep Learning Recommendation Systems with EMBark
Training large-scale deep learning recommendation models (DLRMs) with embedding tables stretching across multiple GPUs in a cluster presents a unique challenge, demanding the efficient scaling of embedding operations that require substantial memory and network bandwidth within a hierarchical network of GPUs. To tackle this bottleneck, we introduce EMBark—a comprehensive solution aimed at enhancing embedding performance and overall DLRM training throughput at scale. EMBark empowers users to create and customize sharding strategies, and features a highly-automated sharding planner, to accelerate diverse model architectures on different cluster configurations. EMBark groups embedding tables, considering their preferred communication compression method to reduce communication overheads effectively. It embraces efficient data-parallel category distribution, combined with topology-aware hierarchical communication, and pipelining support to maximize the DLRM training throughput. Across four representative DLRM variants (DLRM-DCNv2, T180, T200, and T510), EMBark achieves an average end-to-end training throughput speedup of 1.5 × and up to 1.77 × over traditional table-row-wise sharding approaches.
Authors
- Zehuan Wang (ORCID: https://orcid.org/0000-0002-1072-2651)
- Shijie Liu (ORCID: https://orcid.org/0009-0007-5431-5787)
- Minseok Lee (ORCID: https://orcid.org/0000-0002-8367-1939)
- J. Z. Zhang
- Wenjing Zhu
- Nan Zheng (ORCID: https://orcid.org/0000-0003-3261-2135)
- Matthias Langer (ORCID: https://orcid.org/0000-0003-1776-8000)
- Xavier Simmons
- Hui Kang
Institutions
- Nvidia (United States) (US)
Publication Details
- Published
- 2024-10-08
- DOI
- https://doi.org/10.1145/3640457.3688111
- Citations
- 2
- Primary Topic
- Recommender Systems and Techniques
- Type
- article
- Field-Weighted Citation Impact
- 1.56