An Application-oblivious Memory Scheduling System for DNN Accelerators

Author:

Li Jiansong1ORCID,Wang Xueying2ORCID,Chen Xiaobing2ORCID,Li Guangli2ORCID,Dong Xiao3ORCID,Zhao Peng4ORCID,Yu Xianzhi4ORCID,Yang Yongxin2ORCID,Cao Wei2ORCID,Liu Lei2ORCID,Feng Xiaobing2ORCID

Affiliation:

1. Huawei Galois Lab, Beijing, China

2. Institute of Computing Technology, Chinese Academy of Sciences and University of Chinese Academy of Sciences, Shijingshan District, Beijing, China

3. NVIDIA Corporation, Shanghai, China

4. Huawei 2012 Lab, Beijing, China

Abstract

Deep Neural Networks (DNNs) tend to go deeper and wider, which poses a significant challenge to the training of DNNs, due to the limited memory capacity of DNN accelerators. Existing solutions for memory-efficient DNN training are densely coupled with the application features of DNN workloads, e.g., layer structures or computational graphs of DNNs are necessary for these solutions. This would result in weak versatility for DNNs with sophisticated layer structures or complicated computation graphs. These schemes usually need to be re-implemented or re-adapted due to the new layer structures or the unusual operators in the computational graphs introduced by these DNNs. In this article, we review the memory pressure issues of DNN training from the perspective of runtime systems and model the memory access behaviors of DNN workloads. We identify the iterative, regularity , and extremalization properties of memory access patterns for DNN workloads. Based on these observations, we propose AppObMem, an application-oblivious memory scheduling system. AppObMem automatically traces the memory behaviors of DNN workloads and schedules the memory swapping to reduce the memory pressure of the device accelerators without the perception of high-level information of layer structures or computation graphs. Evaluations on a variety of DNN models show that, AppObMem obtains 40–60% memory savings with acceptable performance loss. AppObMem is also competitive with other open sourced SOTA schemes.

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Information Systems,Software

Reference71 articles.

1. Apache Singa Team.2020. Singa: A Distributed Deep Learning Library. Retrieved September 20 2020 from http://singa.apache.org/.

2. Javier Artiles and Satoshi Sekine. 2008. Tagged and Cleaned Wikipedia (TC Wikipedia) and Its Ngram. Retrieved September 20 2020 from https://nlp.cs.nyu.edu/wikipedia-data/.

3. Olivier Beaumont Lionel Eyraud-Dubois and Alena Shilova. 2019. Optimal GPU-CPU Offloading Strategies for Deep Neural Network Training. Retrieved from https://hal.inria.fr/hal-02316266.

4. Giuseppe Bonaccorso. 2017. Machine Learning Algorithms: A Reference Guide to Popular Algorithms for Data Science and Machine Learning. Packt Publishing.

5. Cambricon. 2020. Cambricon BANG C Developer Guide. Retrieved September 20 2020 from http://www.cambricon.com/docs/bangc/developer_guide_html/.

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Smart-DNN+: A Memory-efficient Neural Networks Compression Framework for the Model Inference;ACM Transactions on Architecture and Code Optimization;2023-10-26

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3