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

高效边缘AI:借助Gemmini加速器在FPGA上部署卷积神经网络

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

FZI Research Center for Information Technology(FZI信息技术研究中心);University of Tübingen(蒂宾根大学);Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院)

Federico Nicolas Peccia, Svetlana Pavlitska, Tobias Fleck, Oliver Bringmann

AI总结:

针对边缘AI部署的能耗隐私需求与非现成设备部署难题,提出经修改的Gemmini加速器结合开源软件的FPGA端到端CNN部署工作流,在Xilinx ZCU102上部署YOLOv7达36.5 GOP/s/W能效,优于同类方案,并验证了交通监控场景集成可行性。

摘要:

人们对能耗与隐私问题的日益关注,推动了可在边缘端部署的AI解决方案的发展,这类方案可避免云服务器相关的大量二氧化碳排放,并降低敏感数据共享带来的风险。但在非现成边缘设备上部署卷积神经网络(CNNs)仍是一项复杂且耗时耗力的任务。本文提出了一种借助Gemmini加速器在现场可编程门阵列(FPGAs)上部署CNNs的端到端工作流,我们对Gemmini进行了修改以实现其在FPGA上的高效部署。文中阐述了我们如何在部署流程的每个优化步骤中利用开源软件,介绍了我们为这些软件添加的自定义修改,以及这些修改对最终系统性能的影响。我们通过在Xilinx ZCU102 FPGA上部署YOLOv7模型实现了实时性能,能效达到36.5 GOP/s/W。我们的基于FPGA的解决方案相比其他嵌入式硬件设备展现出更优异的能效,甚至优于其他FPGA参考实现。最后,我们通过在交通监控场景中测试所提出的平台,展示了这类解决方案如何集成到更大型的系统中。

英文摘要:

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.

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

↑