已入深夜,您辛苦了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!祝你早点完成任务,早点休息,好梦!

DeepTM: Efficient Tensor Management in Heterogeneous Memory for DNN Training

计算机科学 培训(气象学) 内存管理 张量(固有定义) 人工智能 并行计算 操作系统 覆盖 数学 物理 气象学 纯数学
作者
Haoran Zhou,Wei Rang,Hongyang Chen,Xiaobo Zhou,Dazhao Cheng
出处
期刊:IEEE Transactions on Parallel and Distributed Systems [Institute of Electrical and Electronics Engineers]
卷期号:35 (11): 1920-1935
标识
DOI:10.1109/tpds.2024.3431910
摘要

Deep Neural Networks (DNNs) have gained widespread adoption in diverse fields, including image classification, object detection, and natural language processing. However, training large-scale DNN models often encounters significant memory bottlenecks, which ask for efficient management of extensive tensors. Heterogeneous memory system, which combines persistent memory (PM) modules with traditional DRAM, offers an economically viable solution to address tensor management challenges during DNN training. However, existing memory management methods on heterogeneous memory systems often lead to low PM access efficiency, low bandwidth utilization, and incomplete analysis of model characteristics. To overcome these hurdles, we introduce an efficient tensor management approach, DeepTM, tailored for heterogeneous memory to alleviate memory bottlenecks during DNN training. DeepTM employs page-level tensor aggregation to enhance PM read and write performance and executes contiguous page migration to increase memory bandwidth. Through an analysis of tensor access patterns and model characteristics, we quantify the overall performance and transform the performance optimization problem into the framework of Integer Linear Programming. Additionally, we achieve tensor heat recognition by dynamically adjusting the weights of four key tensor characteristics and develop a global optimization strategy using Deep Reinforcement Learning. To validate the efficacy of our approach, we implement and evaluate DeepTM, utilizing the TensorFlow framework running on a PM-based heterogeneous memory system. The experimental results demonstrate that DeepTM achieves performance improvements of up to 36% and 49% compared to the current state-of-the-art memory management strategies AutoTM and Sentinel, respectively. Furthermore, our solution reduces the overhead by 18 times and achieves up to 29% cost reduction compared to AutoTM.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
3秒前
Yeses完成签到 ,获得积分10
3秒前
4秒前
啊啊啊啊发布了新的文献求助10
6秒前
pink发布了新的文献求助10
7秒前
7秒前
卡卡卡发布了新的文献求助10
7秒前
小明月发布了新的文献求助10
9秒前
11秒前
归尘应助啊啊啊啊采纳,获得10
13秒前
科研通AI2S应助啊啊啊啊采纳,获得10
13秒前
小小完成签到 ,获得积分10
17秒前
大力的图图应助小明月采纳,获得10
17秒前
FashionBoy应助科研通管家采纳,获得10
18秒前
小二郎应助科研通管家采纳,获得10
18秒前
彭于晏应助科研通管家采纳,获得10
18秒前
酷波er应助科研通管家采纳,获得10
18秒前
科目三应助科研通管家采纳,获得10
18秒前
18秒前
晨晨发布了新的文献求助10
22秒前
小枣完成签到 ,获得积分10
24秒前
25秒前
Lucas应助pink采纳,获得10
26秒前
六六发布了新的文献求助10
28秒前
小明月完成签到,获得积分10
31秒前
壳聚糖完成签到 ,获得积分10
33秒前
思源应助LLL采纳,获得10
34秒前
拟闲发布了新的文献求助10
35秒前
传奇3应助卡卡卡采纳,获得10
36秒前
GingerF应助Zbw采纳,获得50
36秒前
妩媚完成签到,获得积分10
38秒前
43秒前
Lucas应助妩媚采纳,获得10
43秒前
无敌大鸡腿完成签到,获得积分10
44秒前
44秒前
Muncy完成签到 ,获得积分10
46秒前
Viiigo完成签到,获得积分10
52秒前
活力的招牌完成签到 ,获得积分10
53秒前
Cc完成签到 ,获得积分10
56秒前
Zbw给Zbw的求助进行了留言
56秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
HANDBOOK OF CHEMISTRY AND PHYSICS 106th edition 1000
ASPEN Adult Nutrition Support Core Curriculum, Fourth Edition 1000
AnnualResearch andConsultation Report of Panorama survey and Investment strategy onChinaIndustry 1000
Continuing Syntax 1000
Signals, Systems, and Signal Processing 610
Decentring Leadership 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6277260
求助须知:如何正确求助?哪些是违规求助? 8096857
关于积分的说明 16926547
捐赠科研通 5346365
什么是DOI,文献DOI怎么找? 2842392
邀请新用户注册赠送积分活动 1819644
关于科研通互助平台的介绍 1676797