arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.06780cs.ARcs.DCcs.ETcs.LGcs.PL
收藏

COMPASS:面向资源受限的基于交叉阵列的内存中深度学习加速器的编译器框架

COMPASS: A Compiler Framework for Resource-Constrained Crossbar-Array Based In-Memory Deep Learning Accelerators

Seoul National University(首尔大学)

Jihoon Park, Jeongin Choe, Dohyun Kim, Jae-Joon Kim

AI总结:

针对基于交叉阵列的内存中加速器因网络规模增大面临的片上存储不足问题,提出编译器框架COMPASS,通过最优层划分算法优化多指标,实现更高吞吐量和能效。

摘要:

近年来,基于交叉阵列的内存中加速器因其高吞吐量和能效而备受关注。尽管针对这类内存中加速器的软件和编译器支持已被提出,但目前它们都局限于所有权重都假定在片上的场景。随着网络规模相较于内存中存储空间显著增大,这一局限性变得尤为突出。\n 权重替换方案是解决这一问题的关键。我们提出了COMPASS,一种面向资源受限的基于交叉阵列的内存处理(PIM)深度神经网络(DNN)加速器的编译器框架。COMPASS专门针对超出PIM交叉阵列容量、需要访问外部存储器的网络。我们提出了一种算法来确定最优划分方式,将网络层进行划分,使得每个划分部分都能在片上被加速。我们的方案考虑了层间数据依赖、核心利用率以及写入指令数量,以最小化延迟、存储器访问并提升能效。仿真结果表明,与基线划分方法相比,COMPASS能够以极小的内存开销适配更多网络,同时将吞吐量提升1.78倍,能效延迟积(EDP)降低1.28倍。

英文摘要:

Recently, crossbar array based in-memory accelerators have been gaining interest due to their high throughput and energy efficiency. While software and compiler support for the in-memory accelerators has also been introduced, they are currently limited to the case where all weights are assumed to be on-chip. This limitation becomes apparent with the significantly increasing network sizes compared to the in-memory footprint. Weight replacement schemes are essential to address this issue. We propose COMPASS, a compiler framework for resource-constrained crossbar-based processing-in-memory (PIM) deep neural network (DNN) accelerators. COMPASS is specially targeted for networks that exceed the capacity of PIM crossbar arrays, necessitating access to external memories. We propose an algorithm to determine the optimal partitioning that divides the layers so that each partition can be accelerated on chip. Our scheme takes into account the data dependence between layers, core utilization, and the number of write instructions to minimize latency, memory accesses, and improve energy efficiency. Simulation results demonstrate that COMPASS can accommodate much more networks using a minimal memory footprint, while improving throughput by 1.78X and providing 1.28X savings in energy-delay product (EDP) over baseline partitioning methods.

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

↑