arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.11437cs.AReess.IV
收藏

打包我的权重然后运行!最小化存内计算加速器的开销

Pack my weights and run! Minimizing overheads for in-memory computing accelerators

Pouya Houshmand, Marian Verhelst

AI总结:

本文针对存内计算加速器中权重加载开销与资源利用率问题,提出一种高效权重打包映射算法,以减少加载次数并利用计算并行性,在MLPerf Tiny上展示10–100倍EDP改进潜力。

摘要:

与传统数字设计相比,存内计算(in-memory computing, IMC)硬件加速器可在矩阵-向量乘法(matrix-vector multiplications, MVM)的峰值能效和性能上实现超过10倍的提升。因此,它们在神经网络工作负载加速方面引起了极大关注。然而,这些潜在收益只有在计算资源利用率最大化且向存储阵列加载操作数所产生的开销最小化时才能实现。为此,本文提出一种面向IMC宏单元中权重的新型映射算法,其基础是将网络各层的权重高效打包到可用存储器中。该算法实现了:1)最小化权重加载时间,同时2)最大限度地利用IMC计算结构的并行性。本文开展了一组案例研究,以展示在IMC架构上运行MLPerf Tiny基准测试时可实现的权衡,潜在EDP改进可达10–100倍。

英文摘要:

In-memory computing hardware accelerators allow more than 10x improvements in peak efficiency and performance for matrix-vector multiplications (MVM) compared to conventional digital designs. For this, they have gained great interest for the acceleration of neural network workloads. Nevertheless, these potential gains are only achieved when the utilization of the computational resources is maximized and the overhead from loading operands in the memory array minimized. To this aim, this paper proposes a novel mapping algorithm for the weights in the IMC macro, based on efficient packing of the weights of network layers in the available memory. The algorithm realizes 1) minimization of weight loading times while at the same time 2) maximally exploiting the parallelism of the IMC computational fabric. A set of case studies are carried out to show achievable trade-offs for the MLPerf Tiny benchmark \cite{mlperftiny} on IMC architectures, with potential $10-100\times$ EDP improvements.

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

↑