arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.04812cs.ETcs.AI
收藏

面向多租户 DNN 的协同 PIM 计算优化框架

A Collaborative PIM Computing Optimization Framework for Multi-Tenant DNN

University of Maryland, Baltimore County(马里兰大学巴尔的摩县分校);George Mason University(乔治梅森大学)

Bojing Li, Duo Zhong, Xiang Chen, Chenchen Liu

AI总结:

针对多租户 DNN 在 ReRAM PIM 上的资源争用与算子瓶颈,提出租户级硬件划分和算子级细粒度重构流水线框架,显著提升速度与能效。

摘要:

现代人工智能(AI)应用正越来越多地使用多租户深度神经网络(DNN),这导致计算复杂度和计算并行需求显著上升。基于 ReRAM 的存内计算(PIM)凭借其高密度和低功耗特性,在支持多租户 DNN 部署方面具有良好潜力。然而,将复杂的多租户 DNN 直接部署到现有基于 ReRAM 的 PIM 设计上会面临挑战。不同租户之间的资源争用可能导致片上计算资源严重利用不足。此外,面积密集型算子和计算密集型算子需要过大的片上面积和较长的处理时间,从而在并行计算期间造成较高的整体延迟。为应对这些挑战,我们提出了一种新颖的基于 ReRAM 的存内计算框架,可在基于 ReRAM 的 PIM 设计上高效部署多租户 DNN。该方法通过在租户层级迭代划分 PIM 硬件来解决资源争用问题。此外,我们在算子层级构建了细粒度重构处理流水线,以处理面积密集型算子。与直接部署在传统基于 ReRAM 的 PIM 设计上相比,所提出的 PIM 计算框架在速度上实现了 1.75 倍至 60.43 倍的显著提升,能效最高提升 1.89 倍。

英文摘要:

Modern Artificial Intelligence (AI) applications are increasingly utilizing multi-tenant deep neural networks (DNNs), which lead to a significant rise in computing complexity and the need for computing parallelism. ReRAM-based processing-in-memory (PIM) computing, with its high density and low power consumption characteristics, holds promising potential for supporting the deployment of multi-tenant DNNs. However, direct deployment of complex multi-tenant DNNs on exsiting ReRAM-based PIM designs poses challenges. Resource contention among different tenants can result in sever under-utilization of on-chip computing resources. Moreover, area-intensive operators and computation-intensive operators require excessively large on-chip areas and long processing times, leading to high overall latency during parallel computing. To address these challenges, we propose a novel ReRAM-based in-memory computing framework that enables efficient deployment of multi-tenant DNNs on ReRAM-based PIM designs. Our approach tackles the resource contention problems by iteratively partitioning the PIM hardware at tenant level. In addition, we construct a fine-grained reconstructed processing pipeline at the operator level to handle area-intensive operators. Compared to the direct deployments on traditional ReRAM-based PIM designs, our proposed PIM computing framework achieves significant improvements in speed (ranges from 1.75x to 60.43x) and energy(up to 1.89x).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑