paper-with-me

Papers

DELTA: Dynamically Optimizing GPU Memory beyond Tensor Recomputation

2022-03-30 · Yu Tang, Chenyu Wang, Yufan Zhang, Yuliang Liu, Xingcheng Zhang, Linbo Qiao, Zhiquan Lai, Dongsheng Li

The further development of deep neural networks is hampered by the limited GPU memory resource. Therefore, the optimization of GPU memory resources is highly demanded. Swapping and recomputation are commonly applied to make better use of GPU memory in deep learning. However, as an emerging domain, several challenges remain:1)The efficiency of recomputation is limited for both static and dynamic methods. 2)Swapping requires offloading parameters manually, which incurs a great time cost. 3) There is no such dynamic and fine-grained method that involves tensor swapping together with tensor recomputation nowadays. To remedy the above issues, we propose a novel scheduler manager named DELTA(Dynamic tEnsor offLoad and recompuTAtion). To the best of our knowledge, we are the first to make a reasonable dynamic runtime scheduler on the combination of tensor swapping and tensor recomputation without user oversight. In DELTA, we propose a filter algorithm to select the optimal tensors to be released out of GPU memory and present a director algorithm to select a proper action for each of these tensors. Furthermore, prefetching and overlapping are deliberately considered to overcome the time cost caused by swapping and recomputing tensors. Experimental results show that DELTA not only saves 40%-70% of GPU memory, surpassing the state-of-the-art method to a great extent but also gets comparable convergence results as the baseline with acceptable time delay. Also, DELTA gains 2.04$\times$ maximum batchsize when training ResNet-50 and 2.25$\times$ when training ResNet-101 compared with the baseline. Besides, comparisons between the swapping cost and recomputation cost in our experiments demonstrate the importance of making a reasonable dynamic scheduler on tensor swapping and tensor recomputation, which refutes the arguments in some related work that swapping should be the first and best choice.

📄 PDF Abstract BibTeX arXiv:2203.15980

Code (1)

TonyTangYu/delta-examples 공식 구현 pytorch

Tasks

GPU

Similar Papers 제목 키워드 기반

Score-Based Model for Low-Rank Tensor Recovery

2025-06-27 · Zhengyun Cheng, Changhao Wang, Guanwen Zhang, Yi Xu 외

Low-rank tensor decompositions (TDs) provide an effective framework for multiway data analysis. Traditional TD methods rely on predefined structural assumptions, such as CP or Tucker decompositions. From a probabilistic …

Denoising

SuperNeurons: Dynamic GPU Memory Management for Training Deep Neural Networks

2018-01-13 · Linnan Wang, Jinmian Ye, Yiyang Zhao, Wei Wu 외

Going deeper and wider in neural architectures improves the accuracy, while the limited GPU DRAM places an undesired restriction on the network design domain. Deep Learning (DL) practitioners either need change to less d…

GPUManagementScheduling

Coop: Memory is not a Commodity

2023-11-01 · NeurIPS 2023 11

Tensor rematerialization allows the training of deep neural networks (DNNs) under limited memory budgets by checkpointing the models and recomputing the evicted tensors as needed. However, the existing tensor remateriali…

TinySeg: Model Optimizing Framework for Image Segmentation on Tiny Embedded Systems

2024-05-03 · Byungchul Chae, Jiae Kim, Seonyeong Heo

Image segmentation is one of the major computer vision tasks, which is applicable in a variety of domains, such as autonomous navigation of an unmanned aerial vehicle. However, image segmentation cannot easily materializ…

Autonomous NavigationImage SegmentationSegmentationSemantic Segmentation

Delta Tensor: Efficient Vector and Tensor Storage in Delta Lake

2024-05-03 · Zhiwei Bao, Liu Liao-Liao, Zhiyu Wu, Yifan Zhou 외

The exponential growth of artificial intelligence (AI) and machine learning (ML) applications has necessitated the development of efficient storage solutions for vector and tensor data. This paper presents a novel approa…

Management