arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.00258cs.PFcs.LG
收藏

精确定位DNN训练的记忆行为

Pinpointing the Memory Behaviors of DNN Training

State Key Laboratory of Computer Architecture, Institute of Computing Technology, CAS(中国科学院计算技术研究所计算机体系结构国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Youtu Lab, Tencent(腾讯优图实验室);Huawei Technology Co., Ltd(华为技术有限公司)

Jiansong Li, Xiao Dong, Guangli Li, Peng Zhao, Xueying Wang, Xiaobing Chen, Xianzhi Yu, Yongxin Yang, Zihan Jiang, Wei Cao, Lei Liu, Xiaobing Feng

摘要:

由于深度神经网络(DNN)加速器的设备内存容量有限,因此DNN的训练通常是内存消耗的。表征DNN训练的记忆行为对于优化设备记忆压力至关重要。在这项工作中,我们查明在训练过程中的GPU的每个设备内存块的内存行为,通过检测运行时系统的内存分配器。我们的研究结果表明,存储器访问模式的设备内存块是稳定的,并遵循迭代的方式。从原始内存访问模式的角度来看,这些观察结果对于未来优化内存效率训练非常有用。

英文摘要:

The training of deep neural networks (DNNs) is usually memory-hungry due to the limited device memory capacity of DNN accelerators. Characterizing the memory behaviors of DNN training is critical to optimize the device memory pressures. In this work, we pinpoint the memory behaviors of each device memory block of GPU during training by instrumenting the memory allocators of the runtime system. Our results show that the memory access patterns of device memory blocks are stable and follow an iterative fashion. These observations are useful for the future optimization of memory-efficient training from the perspective of raw memory access patterns.

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

↑