arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.01025cs.DC
收藏

利用性能分析模型分割改进多 TPU 系统的推理时间

Improving inference time in multi-TPU systems with profiled model segmentation

Jorge Villarrubia, Luis Costero, Francisco D. Igual, Katzalin Olcoz

AI总结:

针对 Google Edge TPU 片上内存有限导致访问主机内存成为推理瓶颈的问题,提出结合模型分割与流水线技术的多 TPU 协同方案,在最多四个 TPU 上实现了 6 至 46 倍的性能提升。

摘要:

本文系统评估了 Google Edge TPU 在不同特性神经网络下的推理性能。具体而言,我们发现鉴于 Edge TPU 片上内存有限,对外部(主机)内存的访问迅速成为重要的性能瓶颈。我们展示了如何联合使用多个设备来缓解访问主机内存带来的瓶颈。我们提出了一种结合模型分割和流水线技术的解决方案,在最多四个 TPU 上运行,与单 TPU 设置相比,获得了显著的性能提升,范围从具有卷积层神经网络的 6 倍提升到全连接层的 46 倍提升。

英文摘要:

In this paper, we systematically evaluate the inference performance of the Edge TPU by Google for neural networks with different characteristics. Specifically, we determine that, given the limited amount of on-chip memory on the Edge TPU, accesses to external (host) memory rapidly become an important performance bottleneck. We demonstrate how multiple devices can be jointly used to alleviate the bottleneck introduced by accessing the host memory. We propose a solution combining model segmentation and pipelining on up to four TPUs, with remarkable performance improvements that range from $6\times$ for neural networks with convolutional layers to $46\times$ for fully connected layers, compared with single-TPU setups.

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

↑