Balanced segmentation of CNNs for multi-TPU inference
Preprint
Abstract
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.Keywords
All Related Versions
- Version 1, 2025-03-02, ArXiv
- Published version: The Journal of Supercomputing, 81 (1), 1.
This publication has 32 references indexed in Scilit:
- A Survey on Collaborative DNN Inference for Edge IntelligenceMachine Intelligence Research, 2023
- An Evaluation of Edge TPU Accelerators for Convolutional Neural Networks2022
- A Survey of Three Types of Processing Units: CPU, GPU and TPU2022
- Artificial Intelligence Enabled Smart City IoT System using Edge Computing2021
- A Comprehensive Survey of the Internet of Things (IoT) and AI-Based Smart HealthcareIEEE Access, 2020
- Processor Pipelining Method for Efficient Deep Neural Network Inference on Embedded Devices2020
- Distributed Inference Acceleration with Adaptive DNN Partitioning and Offloading2020
- AccUDNN: A GPU Memory Efficient Accelerator for Training Ultra-Deep Neural Networks2019
- Smart cameras everywhere: AI vision on edge with emerging memories2019
- Dynamic Adaptive DNN Surgery for Inference Acceleration on the Edge2019