finn

XilinxBSD-3-Clause活跃维护

把量化神经网络编译成 FPGA 上的数据流推理加速器,省去手写 RTL 的麻烦,适合做低延迟边缘部署。

Dataflow compiler for QNN inference on FPGAs

v0.10.1发布于 2024-07-08 11:05 UTC1,090star +1 / 7 天311fork同步于 2026-11-10 11:50 UTC

怎么上手

由 README 提炼,执行前请确认
README 未给出具体安装命令,仅说明目前只支持 Docker 方式运行 FINN 编译器,详见 Getting Started 文档
硬件要求按 README 说明

README 未说明具体 FPGA 型号或显存要求,仅说明目标平台为 FPGA

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

AMD 开源的 FPGA 量化神经网络推理编译器,为每个网络生成定制数据流架构

把量化神经网络编译成 FPGA 上的数据流推理加速器,省去手写 RTL 的麻烦,适合做低延迟边缘部署。

核心能力

  • 针对量化神经网络生成定制化数据流架构
  • 生成高吞吐低延迟的 FPGA 加速器
  • 全开源,可跨软硬件抽象层做研究
  • 提供 Jupyter notebook 教程与预构建示例仓库

容易踩的坑

官方只支持 Docker 方式运行编译器,依赖复杂不建议裸装;预构建网络示例在独立的 finn-examples 仓库中,需另行获取;v0.1 分支已废弃且与主分支无共同历史,勿混用

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.10.1
  1. v1.0.0-alphaFINN v1.0.0-alphapre-release2026-09-06 · 2026-09-06 15:46 UTC
    查看更新说明
  2. v0.10.1FINN v0.10.1最新正式版2024-07-08 · 2024-07-08 11:05 UTC

    Release blog post: https://github.com/Xilinx/finn/discussions/1128 List of merged PRs: https://github.com/Xilinx/finn/pulls?q=is%3Apr+is%3Aclosed+merged%3A2024-04-03..2024-07-08


    Known issues We are seeing some unexpected behaviour for external mem mode, especially with the new RTL components. Please note that you might run into issues when working with external weights.

  3. v0.10FINN v0.102024-04-02 · 2024-04-02 10:57 UTC
    查看更新说明
  4. v0.9FINN v0.92023-02-10 · 2023-02-10 12:29 UTC
    查看更新说明

    Release blog post: #761

    List of merged PRs: https://github.com/Xilinx/finn/pulls?q=is%3Apr+is%3Aclosed+merged%3A2022-07-15..2023-02-10

    Known issues

    There was a wrong model file referenced in the tfc and cnv end2end example notebook and the build_dataflow example needed to have an additional build argument (vcd tracing does only work with python rtlsim) Both is fixed on main, see merged PR: https://github.com/Xilinx/finn/pull/762

  5. v0.8.1FINN v0.8.12022-07-14 · 2022-07-14 09:17 UTC
    查看更新说明

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    <img src=https://raw.githubusercontent.com/Xilinx/finn/github-pages/docs/img/finn-logo.png width=128/> Fast, Scalable Quantized Neural Network Inference on FPGAs

    GitHub Discussions ReadTheDocs

    FINN is an experimental framework from Integrated Communications and AI Lab of AMD Research & Advanced Development to explore deep neural network inference on FPGAs. It specifically targets quantized neural networks, with emphasis on generating dataflow-style architectures customized for each network. The resulting FPGA accelerators are highly efficient and can yield high throughput and low latency. The framework is fully open-source in order to give a higher degree of flexibility, and is intended to enable neural network research spanning several layers of the software/hardware abstraction stack.

    We have a separate repository finn-examples that houses pre-built examples for several neural networks. For more general information about FINN, please visit the project page and check out the publications.

    Getting Started

    Please see the Getting Started page for more information on requirements, installation, and how to run FINN in different modes. Due to the complex nature of the dependencies of the project, we only support Docker-based execution of the FINN compiler at this time.

    What's New in FINN?

    Documentation

    You can view the documentation on readthedocs. Additionally, there is a series of Jupyter notebook tutorials, which we recommend running from inside Docker for a better experience.

    Community

    We have GitHub discussions where you can ask questions. You can use the GitHub issue tracker to report bugs, but please don't file issues to ask questions as this is better handled in GitHub discussions.

    We also heartily welcome contributions to the project, please check out the contribution guidelines and the list of open issues. Don't hesitate to get in touch over GitHub discussions to discuss your ideas.

    In the past, we also had a Gitter channel. Please be aware that this is no longer maintained by us but can still be used to search for questions previous users had.

    Citation

    The current implementation of the framework is based on the following publications. Please consider citing them if you find FINN useful.

    @article{blott2018finn,
      title={FINN-R: An end-to-end deep-learning framework for fast exploration of quantized neural networks},
      author={Blott, Michaela and Preu{\ss}er, Thomas B and Fraser, Nicholas J and Gambardella, Giulio and O’brien, Kenneth and Umuroglu, Yaman and Leeser, Miriam and Vissers, Kees},
      journal={ACM Transactions on Reconfigurable Technology and Systems (TRETS)},
      volume={11},
      number={3},
      pages={1--23},
      year={2018},
      publisher={ACM New York, NY, USA}
    }
    
    @inproceedings{finn,
    author = {Umuroglu, Yaman and Fraser, Nicholas J. and Gambardella, Giulio and Blott, Michaela and Leong, Philip and Jahre, Magnus and Vissers, Kees},
    title = {FINN: A Framework for Fast, Scalable Binarized Neural Network Inference},
    booktitle = {Proceedings of the 2017 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays},
    series = {FPGA '17},
    year = {2017},
    pages = {65--74},
    publisher = {ACM}
    }
    

    Old version

    We previously released an early-stage prototype of a toolflow that took in Caffe-HWGQ binarized network descriptions and produced dataflow architectures. You can find it in the v0.1 branch in this repository. Please be aware that this version is deprecated and unsupported, and the main branch does not share history with that branch so it should be treated as a separate repository for all purposes.