Implementing CUDA Unified Memory in the PyTorch Framework

计算机科学 内存占用 库达 并行计算 程序员 计算机体系结构 内存管理 平面存储模型 统一内存访问 记忆模型 交错存储器 分布式共享内存 半导体存储器 共享内存 嵌入式系统 操作系统
作者
Jake Choi,Heon Y. Yeom,Yoonhee Kim
出处
期刊:International Conference on Autonomic Computing 被引量:3
标识
DOI:10.1109/acsos-c52956.2021.00029
摘要

Popular deep learning frameworks like PyTorch utilize GPUs heavily for training, and suffer from out-of-memory (OOM) problems if memory is not managed properly. In this paper, we propose a modification that utilizes CUDA Unified Memory (UM) to expand GPU memory to the available host memory space so that practicality for the programmer can increase, and OOM memory errors will not result for any workload. We also pinpoint performance issues that result from our modifications to the framework, and outline future plans like reducing redundant memory copies, prefetching, and memory advising techniques to improve upon our design. Our implementation shows that PyTorch UM performance overheads are minimal when the data footprint is below GPU memory capacity.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
zyy发布了新的文献求助10
1秒前
李健应助霜白采纳,获得10
1秒前
2秒前
蓝天发布了新的文献求助10
2秒前
量子星尘发布了新的文献求助10
3秒前
3秒前
3秒前
空白完成签到,获得积分10
3秒前
深情安青应助vidi采纳,获得10
5秒前
6秒前
6秒前
7秒前
脑洞疼应助紫薇采纳,获得10
7秒前
归尘应助紫薇采纳,获得10
7秒前
丘比特应助紫薇采纳,获得10
7秒前
小马甲应助紫薇采纳,获得10
7秒前
在水一方应助紫薇采纳,获得10
7秒前
充电宝应助紫薇采纳,获得10
7秒前
科研通AI2S应助紫薇采纳,获得10
7秒前
bkagyin应助紫薇采纳,获得10
7秒前
斯文败类应助紫薇采纳,获得10
7秒前
所所应助紫薇采纳,获得10
7秒前
7秒前
白立轩完成签到,获得积分10
8秒前
9秒前
ww发布了新的文献求助10
10秒前
SciGPT应助紧张的惜梦采纳,获得10
10秒前
强健的元冬完成签到,获得积分20
10秒前
10秒前
11秒前
清秀忆枫完成签到,获得积分10
11秒前
12秒前
13秒前
Jasper应助个性的荆采纳,获得10
13秒前
徐进发布了新的文献求助10
13秒前
yh发布了新的文献求助40
14秒前
dyjjudy完成签到,获得积分10
14秒前
14秒前
14秒前
15秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Encyclopedia of Reproduction Third Edition 3000
Comprehensive Methanol Science Production, Applications, and Emerging Technologies 2000
化妆品原料学 1000
Psychology of Self-Regulation 800
1st Edition Sports Rehabilitation and Training Multidisciplinary Perspectives By Richard Moss, Adam Gledhill 600
Red Book: 2024–2027 Report of the Committee on Infectious Diseases 500
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5642076
求助须知:如何正确求助?哪些是违规求助? 4758001
关于积分的说明 15016141
捐赠科研通 4800531
什么是DOI,文献DOI怎么找? 2566119
邀请新用户注册赠送积分活动 1524226
关于科研通互助平台的介绍 1483901