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× for neural networks with convolutional layers to 46× for fully connected layers, compared with single-TPU setups.
@article{arxiv.2503.01025,
title = {Improving inference time in multi-TPU systems with profiled model segmentation},
author = {Jorge Villarrubia and Luis Costero and Francisco D. Igual and Katzalin Olcoz},
journal= {arXiv preprint arXiv:2503.01025},
year = {2025}
}
Comments
Accepted for publication at the 2023 Euromicro International Conference on Parallel, Distributed, and Network-Based Processing (PDP). The final published version is available in IEEE Xplore: https://doi.org/10.1109/PDP59025.2023.00020