arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2208.05321cs.IRcs.AIcs.DCcs.LG
收藏

一种面向大型推荐系统嵌入的频率感知软件Cache

A Frequency-aware Software Cache for Large Recommendation System Embeddings

HPC-AI Technology Inc.(HPC-AI科技公司);School of Computer Science, Wuhan University(武汉大学计算机学院);National University of Singapore(新加坡国立大学)

Jiarui Fang, Geng Zhang, Jiatong Han, Shenggui Li, Zhengda Bian, Yongbin Li, Jin Liu, Yang You

摘要:

深度学习推荐模型(DLRM)在互联网企业中得到了广泛应用。DLRM的嵌入表太大,无法完全容纳在GPU内存中。我们提出了一种基于GPU的软件缓存方法,通过利用目标数据集的id频率统计信息来动态管理CPU和GPU内存空间中的嵌入表。我们提出的软件缓存是有效的训练整个DLRM在GPU上同步更新的方式。它还可以扩展到多个GPU,并结合广泛使用的混合并行训练方法。评估我们的原型系统表明,我们可以在GPU中仅保留1.5%的嵌入参数,以获得良好的端到端训练速度。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑