Efficient Edge AI: Deploying Convolutional Neural Networks on FPGA with the Gemmini Accelerator

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Peccia, Federico Nicolas, Pavlitska, Svetlana, Fleck, Tobias, Bringmann, Oliver
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909286968328192
author Peccia, Federico Nicolas
Pavlitska, Svetlana
Fleck, Tobias
Bringmann, Oliver
author_facet Peccia, Federico Nicolas
Pavlitska, Svetlana
Fleck, Tobias
Bringmann, Oliver
contents The growing concerns regarding energy consumption and privacy have prompted the development of AI solutions deployable on the edge, circumventing the substantial CO2 emissions associated with cloud servers and mitigating risks related to sharing sensitive data. But deploying Convolutional Neural Networks (CNNs) on non-off-the-shelf edge devices remains a complex and labor-intensive task. In this paper, we present and end-to-end workflow for deployment of CNNs on Field Programmable Gate Arrays (FPGAs) using the Gemmini accelerator, which we modified for efficient implementation on FPGAs. We describe how we leverage the use of open source software on each optimization step of the deployment process, the customizations we added to them and its impact on the final system's performance. We were able to achieve real-time performance by deploying a YOLOv7 model on a Xilinx ZCU102 FPGA with an energy efficiency of 36.5 GOP/s/W. Our FPGA-based solution demonstrates superior power efficiency compared with other embedded hardware devices, and even outperforms other FPGA reference implementations. Finally, we present how this kind of solution can be integrated into a wider system, by testing our proposed platform in a traffic monitoring scenario.
format Preprint
id arxiv_https___arxiv_org_abs_2408_07404
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Efficient Edge AI: Deploying Convolutional Neural Networks on FPGA with the Gemmini Accelerator
Peccia, Federico Nicolas
Pavlitska, Svetlana
Fleck, Tobias
Bringmann, Oliver
Hardware Architecture
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
The growing concerns regarding energy consumption and privacy have prompted the development of AI solutions deployable on the edge, circumventing the substantial CO2 emissions associated with cloud servers and mitigating risks related to sharing sensitive data. But deploying Convolutional Neural Networks (CNNs) on non-off-the-shelf edge devices remains a complex and labor-intensive task. In this paper, we present and end-to-end workflow for deployment of CNNs on Field Programmable Gate Arrays (FPGAs) using the Gemmini accelerator, which we modified for efficient implementation on FPGAs. We describe how we leverage the use of open source software on each optimization step of the deployment process, the customizations we added to them and its impact on the final system's performance. We were able to achieve real-time performance by deploying a YOLOv7 model on a Xilinx ZCU102 FPGA with an energy efficiency of 36.5 GOP/s/W. Our FPGA-based solution demonstrates superior power efficiency compared with other embedded hardware devices, and even outperforms other FPGA reference implementations. Finally, we present how this kind of solution can be integrated into a wider system, by testing our proposed platform in a traffic monitoring scenario.
title Efficient Edge AI: Deploying Convolutional Neural Networks on FPGA with the Gemmini Accelerator
topic Hardware Architecture
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2408.07404