paper-with-me

홈 › Papers

Combined Scheduling, Memory Allocation and Tensor Replacement for Minimizing Off-Chip Data Accesses of DNN Accelerators

2023-11-30 · Yi Li, Aarti Gupta, Sharad Malik

Specialized hardware accelerators have been extensively used for Deep Neural Networks (DNNs) to provide power/performance benefits. These accelerators contain specialized hardware that supports DNN operators, and scratchpad memory for storing the tensor operands. Often, the size of the scratchpad is insufficient to store all the tensors needed for the computation, and additional data accesses are needed to move tensors back and forth from host memory during the computation with significant power/performance overhead. The volume of these additional data accesses depends on the operator schedule, and memory allocation (specific locations selected for the tensors in the scratchpad). We propose an optimization framework, named COSMA, for mapping DNNs to an accelerator that finds the optimal operator schedule, memory allocation and tensor replacement that minimizes the additional data accesses. COSMA provides an Integer Linear Programming (ILP) formulation to generate the optimal solution for mapping a DNN to the accelerator for a given scratchpad size. We demonstrate that, using an off-the-shelf ILP solver, COSMA obtains the optimal solution in seconds for a wide-range of state-of-the-art DNNs for different applications. Further, it out-performs existing methods by reducing on average 84% of the non-compulsory data accesses. We further propose a divide-and-conquer heuristic to scale up to certain complex DNNs generated by Neural Architecture Search, and this heuristic solution reduces on average 85% data accesses compared with other works.

📄 PDF Abstract BibTeX arXiv:2311.18246

Code (0)

등록된 구현이 없습니다.

Tasks

Neural Architecture SearchScheduling

Similar Papers 제목 키워드 기반

TimeRL: Efficient Deep Reinforcement Learning with Polyhedral Dependence Graphs

2025-01-09 · Pedro F. Silvestre, Peter Pietzuch

Modern deep learning (DL) workloads increasingly use complex deep reinforcement learning (DRL) algorithms that generate training data within the learning loop. This results in programs with several nested loops and dynam…

CPUDeep Reinforcement LearningGPUreinforcement-learning+2

Optimizing Memory Mapping Using Deep Reinforcement Learning

2023-05-11 · Pengming Wang, Mikita Sazanovich, Berkin Ilbeyi, Phitchaya Mangpo Phothilimthana 외

Resource scheduling and allocation is a critical component of many high impact systems ranging from congestion control to cloud computing. Finding more optimal solutions to these problems often has significant impact on …

Cloud ComputingDecision MakingDeep Reinforcement Learningreinforcement-learning+4

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…

Synergy: Resource Sensitive DNN Scheduling in Multi-Tenant Clusters

2021-10-12 · Jayashree Mohan, Amar Phanishayee, Janardhan Kulkarni, Vijay Chidambaram

Training Deep Neural Networks (DNNs) is a widely popular workload in both enterprises and cloud data centers. Existing schedulers for DNN training consider GPU as the dominant resource, and allocate other resources such …

CPUGPUSchedulingSensitivity

TENSILE: A Tensor granularity dynamic GPU memory scheduling method toward multiple dynamic workloads system

2021-05-27 · Kaixin Zhang, Hongzhi Wang, Han Hu, Songling Zou 외

Recently, deep learning has been an area of intense research. However, as a kind of computing-intensive task, deep learning highly relies on the scale of GPU memory, which is usually prohibitive and scarce. Although some…

Deep LearningGPUManagementScheduling