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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
SciGPT应助缥缈含双采纳,获得10
1秒前
Akim应助不吃芝士采纳,获得10
1秒前
我是老大应助飞槐采纳,获得10
1秒前
2秒前
糖_完成签到 ,获得积分10
2秒前
hzy发布了新的文献求助20
2秒前
2秒前
2秒前
方方发布了新的文献求助10
2秒前
checkinging完成签到,获得积分10
2秒前
量子星尘发布了新的文献求助10
3秒前
3秒前
han发布了新的文献求助10
3秒前
charles发布了新的文献求助10
4秒前
4秒前
4秒前
阳光的笑旋完成签到,获得积分10
4秒前
4秒前
陈梦鼠发布了新的文献求助10
5秒前
温暖烙完成签到,获得积分20
5秒前
dd发布了新的文献求助10
5秒前
白鱼发布了新的文献求助10
6秒前
甜美的成败完成签到,获得积分10
6秒前
糖__完成签到 ,获得积分20
6秒前
霜幕发布了新的文献求助10
6秒前
6秒前
LJJZZX发布了新的文献求助10
6秒前
dusum发布了新的文献求助10
6秒前
7秒前
7秒前
若尘发布了新的文献求助10
7秒前
7秒前
星辰大海应助科研小白采纳,获得10
8秒前
8秒前
大模型应助王尧采纳,获得10
8秒前
美好斓发布了新的文献求助10
8秒前
Jasper应助幸福汽车采纳,获得10
8秒前
8秒前
Eden完成签到,获得积分10
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Introduction to strong mixing conditions volume 1-3 5000
Clinical Microbiology Procedures Handbook, Multi-Volume, 5th Edition 2000
The Cambridge History of China: Volume 4, Sui and T'ang China, 589–906 AD, Part Two 1000
The Composition and Relative Chronology of Dynasties 16 and 17 in Egypt 1000
Real World Research, 5th Edition 800
Qualitative Data Analysis with NVivo By Jenine Beekhuyzen, Pat Bazeley · 2024 800
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5719543
求助须知:如何正确求助?哪些是违规求助? 5256663
关于积分的说明 15288927
捐赠科研通 4869380
什么是DOI,文献DOI怎么找? 2614754
邀请新用户注册赠送积分活动 1564750
关于科研通互助平台的介绍 1521972