A Frequency-aware Software Cache for Large Recommendation System Embeddings
read the original abstract
Deep learning recommendation models (DLRMs) have been widely applied in Internet companies. The embedding tables of DLRMs are too large to fit on GPU memory entirely. We propose a GPU-based software cache approaches to dynamically manage the embedding table in the CPU and GPU memory space by leveraging the id's frequency statistics of the target dataset. Our proposed software cache is efficient in training entire DLRMs on GPU in a synchronized update manner. It is also scaled to multiple GPUs in combination with the widely used hybrid parallel training approaches. Evaluating our prototype system shows that we can keep only 1.5% of the embedding parameters in the GPU to obtain a decent end-to-end training speed.
This paper has not been read by Pith yet.
Forward citations
Cited by 1 Pith paper
-
Reducing the GPU Memory Bottleneck with Lossless Compression for ML -- Extended
IBP is a new lossless bit-packing algorithm with GPU-optimized decompression that speeds up GNN training by 74%, DLRM lookups by 180%, and LLM inference by 24% by reducing CPU-GPU data movement.
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.