面向多TPU推理的CNN均衡分割
Balanced segmentation of CNNs for multi-TPU inference
AI总结:
本文提出多种CNN分割方案,通过改进性能分析策略平衡多Edge TPU间的工作负载,缓解内存瓶颈,实现超线性加速,加速比最高达2.60倍。
摘要:
本文提出了卷积神经网络(CNNs)分割的多种替代方案,以解决由多个Edge TPU组成的计算架构上的推理过程。具体而言,我们比较了多个最先进CNN模型的推理性能,以单个TPU上的推理时间和Google Edge TPU编译器提供的基于编译器的流水线推理实现作为参考。从基于性能分析的分割策略出发,我们提供了进一步的改进以平衡多个TPU间的工作负载,利用其协同计算能力,减少工作不均衡,并缓解由每个TPU片上内存有限导致的内存访问瓶颈。与单TPU相比,观察到的性能结果实现了超线性加速,与编译器针对多TPU提供的分割相比,加速比最高达2.60倍。
英文摘要:
In this paper, we propose different alternatives for convolutional neural networks (CNNs) segmentation, addressing inference processes on computing architectures composed by multiple Edge TPUs. Specifically, we compare the inference performance for a number of state-of-the-art CNN models taking as a reference inference times on one TPU and a compiler-based pipelined inference implementation as provided by the Google's Edge TPU compiler. Departing from a profiled-based segmentation strategy, we provide further refinements to balance the workload across multiple TPUs, leveraging their cooperative computing power, reducing work imbalance and alleviating the memory access bottleneck due to the limited amount of on-chip memory per TPU. The observed performance results compared with a single TPU yield superlinear speedups and accelerations up to 2.60x compared with the segmentation offered by the compiler targeting multiple TPUs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。