arrow
返回

Waterwave: A GPU Memory Flow Engine for Concurrent DNN Training

delete2023-10-01
delete1
delete
OA
AI
X
Xuanhua Shi *
X
Xuan Peng
L
Ligang He
Y
Yunfei Zhao
金
金海 (Hai Jin)
DOI:10.1109/TC.2023.3278530delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Deep Neural Networks (DNN) concurrently is becoming increasingly important for deep learning practitioners, e.g., hyperparameter optimization (HPO) and neural architecture search (NAS). The GPU memory capacity is the impediment that prohibits multiple DNNs from being trained on the same GPU due to the large memory usage during training. In this paper, we propose Waterwave, a GPU memory flow engine for concurrent deep learning training. First, to address the memory explosion brought by the long time lag between memory allocation and deallocation time, we develop an allocator tailored for multi-streams. By making the allocator aware of the stream information, a prioritized allocation is conducted based on the chunk's synchronization attributes, allowing us to provide useable memory after scheduling rather than waiting it to be really released after GPU computation. Second, Waterwave partitions the compute graph to a set of continuous node groups and then performs finer-grained scheduling: NodeGroup pipeline execution, to guarantee a proper memory requests order. Waterwave can accomplish up to 96.8% of the maximum batch size of solo training. Additionally, in scenarios with high memory demand, Waterwave can outperform existing spatial sharing and temporal sharing by up to 12x and 1.49x, respectively.
Keyword:
Deep learning training
GPU
memory management
scheduling

期刊

IEEE Transactions on Computers 封面图
IEEE Transactions on Computers
IF:
3.8
论文数:
5.4K
被引数:
9.8K

机构

U
University of Warwick
学者数:
2.2W
论文数: 2.2W
被引数: 85
引用论文

引用论文

Changes in brain activation during the acquisition of a new bimanual coordination task
err2004-01-01
err0
PREAI
errF Debaere; N Wenderoth; S Sunaert; P Van Hecke; S.P Swinnen
err分享
err收藏
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容