arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.15561cs.ARcs.AI
收藏

CGRA4ML:一种用于科学边缘计算中实现神经网络的硬件/软件框架

CGRA4ML: A Hardware/Software Framework to Implement Neural Networks for Scientific Edge Computing

University of California, San Diego(加利福尼亚大学圣迭戈分校);University of Moratuwa(莫拉图瓦大学)

G Abarajithan, Zhenghua Ma, Ravidu Munasinghe, Francesco Restuccia, Ryan Kastner

AI总结:

本文提出CGRA4ML框架,通过模块化设计实现高性能可编程神经网络加速器,支持多种SoC平台部署,提供Python API、SystemVerilog硬件和C运行时环境,简化科学计算中的边缘神经网络实现。

摘要:

科学界越来越多地依赖机器学习(ML)进行近传感器处理,利用其在模式识别、异常检测和实时决策任务中的优势。这些部署需要结合极高性能、可编程性、易集成性和简单验证的加速器。我们提出了cgra4ml,一种开源模块化框架,生成可参数化的CGRA加速器,使用可综合的SystemVerilog RTL,专门针对科学应用中常见的ML计算模式。该框架通过符合AXI接口的接口和支持开源DMA组件实现无缝系统集成,并包含自动固件生成以编程加速器。全面的验证套件和运行时固件栈进一步支持在不同SoC平台上的部署。cgra4ml提供模块化、全栈基础设施,包括Python API、SystemVerilog硬件、TCL工具流和C运行时,使科学家能够轻松集成和实验,专注于创新而非硬件设计和优化的复杂性。我们通过ASIC和FPGA设计流程展示了cgra4ml在实现常见科学边缘神经网络方面的有效性。

英文摘要:

The scientific community increasingly relies on machine learning (ML) for near-sensor processing, leveraging its strengths in tasks such as pattern recognition, anomaly detection, and real-time decision-making. These deployments demand accelerators that combine extremely high performance with programmability, ease of integration, and straightforward verification. We present cgra4ml, an open-source, modular framework that generates parameterizable CGRA accelerators in synthesizable SystemVerilog RTL, tailored to common ML compute patterns found in scientific applications. The framework supports seamless system integration through AXI-compliant interfaces and open-source DMA components, and it includes automatic firmware generation for programming the accelerator. A comprehensive verification suite and a runtime firmware stack further support deployment across diverse SoC platforms. cgra4ml provides a modular, full-stack infrastructure, including a Python API, SystemVerilog hardware, TCL toolflows, and a C runtime, which facilitates easy integration and experimentation, allowing scientists to focus on innovation rather than dealing with the intricacies of hardware design and optimization. We demonstrate the effectiveness of cgra4ml to implement common scientific edge neural networks using ASIC and FPGA design flows.

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

↑