Skip to main content

Dataflow Compiler for Fast, Scalable Quantized Neural Network Inference on FPGAs

DOI PyPI Downloads PyPI version GitHub license Documentation GitHub branch status Go to Python website GitHub Issues or Pull Requests GitLab CI Linux Go to QONNX website Go to Brevitas website

FINN+ is a fork of FINN, an experimental framework from the 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.

What's New in FINN+

FINN+ incorporates all upstream FINN development while adding significant enhancements across multiple areas:

Core Improvements

  • Transformer/Attention Support - Native support for modern transformer architectures
  • Enhanced Streamlining - Improved optimization pipeline for better performance
  • Smart FIFO Sizing - Automatic folding and FIFO-sizing with better algorithms
  • QoR Estimation - Empirical quality-of-result estimation for design space exploration

Backend Extensions

  • Hardware Profiling - Instrumentation for accurate performance measurement in simulation and hardware
  • Alveo Support - Enhanced build flow for Xilinx Alveo cards
  • Multi-FPGA - Support for distributed inference across multiple FPGAs
  • Optimized Drivers - High-performance C++ drivers for better host-accelerator communication

Developer Experience

  • Better Diagnostics - Improved logging and error handling throughout the framework
  • Type Safety - Comprehensive type hinting and checking for better code quality
  • YAML Configuration - Alternative YAML-based build configuration system
  • Simplified Setup - Containerless installation and setup process

Track Development: Check our Feature Tracker for real-time status updates on all features. We merge improvements early to accelerate development and enable cutting-edge research.

Getting Started

This is a quick overview of how to get started, for additional information please refer to our Wiki!

Prerequisites

Before installing FINN+, ensure you have:

  • Python: Version 3.11-3.14
  • Xilinx Tools: Vivado, Vitis, and Vitis HLS (2022.2 or 2024.2)
  • System Dependencies: See our dependency installation script for required packages

Installing via pip

After preparing the dependencies mentioned above, simply run the following to start a build flow:

# Make sure to create a fresh virtual environment for FINN+
pip install finn-plus                     # Install FINN+ and its Python dependencies via pip
finn deps update                          # Ensure FINN+ pulled all further dependencies (this might update packages in your venv!)
finn build build_config.yaml model.onnx   # Run a FINN+ build defined in a YAML file

For more detailed instructions, like installation for development use, please refer to our Wiki!

Command-line interface

All functionality is available through the finn command (finn <command> --help lists all options):

finn build cfg.yaml [model.onnx]      # Run a build flow defined in a YAML (or JSON) configuration
finn build cfg.yaml --start <step> --stop <step>   # Run only part of the flow, e.g. to resume a build
finn wizard flow                      # Interactively create a minimal build configuration
finn settings show | edit | create    # Inspect or change the FINN+ settings
finn deps update | show | edit        # Install/update, list or edit the external dependencies
finn check                            # Check that the FINN+ environment starts up correctly
finn test                             # Run the test suite of a repository checkout
  • The build configuration holds the fields of DataflowBuildConfig (see src/finn/builder/build_dataflow_config.py); unknown keys are rejected. The model can be omitted on the command line if the configuration sets model_path. The output directory (output_dir, default finn_build_output) and the folding, specialize-layers and layouts configuration files are resolved relative to the configuration file.
  • --start/--stop only take effect if the configuration does not set start_step/stop_step. Resuming loads the intermediate model of the preceding step from <output_dir>/intermediate_models.
  • finn build exits with a non-zero code if the build fails. The build log is written to <output_dir>/build_dataflow.log.
  • The settings (temporary build directory, dependency location, number of workers, automatic dependency updates) are read from $FINN_SETTINGS, from settings.yaml in the FINN+ installation root, or from ~/.finn/settings.yaml, in this order. A settings file is optional, and ~/.finn/ is only the default for installed packages; in a development checkout, settings.yaml can live in the repository root. If no settings file exists, the first start runs a setup wizard; pass --accept-defaults (or --batch for non-interactive use) to use the defaults instead. Command-line options such as --build-path and environment variables such as FINN_BUILD_DIR or AUTOMATIC_DEPENDENCY_UPDATES override the settings file.
  • The Xilinx tools are found through the environment, so source the settings64.sh of Vivado/Vitis before running finn.

Contributing

Contributions are very welcome! Whether you are fixing a bug, adding a new feature, improving documentation, or sharing a model — every contribution helps.

To get started:

  1. Fork the repository and create a feature branch from main.
  2. Check the Feature Tracker to see what is planned or already in progress.
  3. Open an issue to discuss larger changes before investing significant effort.
  4. Submit a pull request with a clear description of your changes.

Please read CONTRIBUTING.md for detailed guidelines on code style, testing, and the review process.

Citing FINN+

If you find FINN+ useful in your research, please cite the Zenodo record using the following BibTeX entry:

@software{finn-plus,
  author       = {Jentzsch, Felix and Berganski, Christoph and Jungemann, Linus and Wintermann, Bjarne},
  title        = {{FINN+}},
  year         = {2026},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.19100351},
  url          = {https://github.com/eki-project/finn-plus}
}

If you use a specific feature, please additionally cite the corresponding publication:

Multi-DNN: Jentzsch, Klassen et al., "Compiling Multi-DNN Dataflow Accelerators: Dynamic Weight Reconfiguration in FINN" (FPT '26 Poster)

Publication pending

Simulation-based FIFO-sizing: Jungemann, Wintermann et al., "Rapid Dataflow Buffer Sizing for DNNs via Parallel RTL Control-Path Simulation for FINN" (H2RC Workshop at SC '26)

Publication pending

LiveFIFO: Jentzsch et al., "LiveFIFO: FPGA-in-the-Loop Buffer Sizing for Dataflow Accelerators" (ARC '26)

@inproceedings{livefifo,
  author    = {Jentzsch, Felix and Preu{\ss}er, Thomas B. and Stasytis, Lukas and Umuro{\u{g}}lu, Yaman and Petri-Koenig, Jakoba and Berganski, Christoph and Platzner, Marco},
  title     = {{LiveFIFO}: {FPGA}-in-the-Loop Buffer Sizing for Dataflow Accelerators},
  booktitle = {Applied Reconfigurable Computing. Architectures, Tools, and Applications (ARC)},
  year      = {2027},
  pages     = {34--50},
  doi       = {10.1007/978-3-032-29365-7_3}
}

Empirical QoR Estimation: Jentzsch et al., "Empirical QoR Estimation Flow for Fast Design Space Exploration of DNN Dataflow Accelerators" (FPT '25 Poster)

@inproceedings{finn-qor,
  author    = {Jentzsch, Felix and Platzner, Marco},
  title     = {Empirical {QoR} Estimation Flow for Fast Design Space Exploration of {DNN} Dataflow Accelerators},
  booktitle = {International Conference on Field Programmable Technology (ICFPT)},
  year      = {2025},
  pages     = {231-232},
  doi       = {10.1109/ICFPT67023.2025.00044}
}

High-performance driver: Jungemann et al., "FINN-HPC: Closing the Gap for Energy-Efficient Neural Network Inference on FPGAs in HPC" (HEART '25)

@inproceedings{finn-hpc,
  author    = {Jungemann, Linus and Wintermann, Bjarne and Riebler, Heinrich and Plessl, Christian},
  title     = {{FINN-HPC}: Closing the Gap for Energy-Efficient Neural Network Inference on {FPGAs} in {HPC}},
  booktitle = {Proceedings of the 15th International Symposium on Highly Efficient Accelerators and Reconfigurable Technologies (HEART)},
  year      = {2025},
  pages     = {103--116},
  doi       = {10.1145/3728179.3728189}
}

Multi-FPGA: Pape, Wintermann et al., "AuroraFlow, an Easy-to-Use, Low-Latency FPGA Communication Solution Demonstrated on Multi-FPGA Neural Network Inference" (HEART '25)

@inproceedings{auroraflow,
  author    = {Pape, Gerrit and Wintermann, Bjarne and Jungemann, Linus and Lass, Michael and Meyer, Marius and Riebler, Heinrich and Plessl, Christian},
  title     = {{AuroraFlow}, an Easy-to-Use, Low-Latency {FPGA} Communication Solution Demonstrated on Multi-{FPGA} Neural Network Inference},
  booktitle = {Proceedings of the 15th International Symposium on Highly Efficient Accelerators and Reconfigurable Technologies (HEART)},
  year      = {2025},
  pages     = {35--48},
  doi       = {10.1145/3728179.3728190}
}

Transformer support: Berganski et al., "FINN-T: Compiling Custom Dataflow Accelerators for Quantized Transformers" (FPT '24)

@inproceedings{finn-t,
  author    = {Berganski, Christoph and Jentzsch, Felix and Platzner, Marco and Kuhmichel, Max and Giefers, Heiner},
  title     = {{FINN-T}: Compiling Custom Dataflow Accelerators for Quantized Transformers},
  booktitle = {International Conference on Field Programmable Technology (ICFPT)},
  year      = {2024},
  pages     = {1--10},
  doi       = {10.1109/ICFPT64416.2024.11113391}
}

About Us

FINN+ is maintained by researchers from the Computer Engineering Group (CEG) and Paderborn Center for Parallel Computing (PC²) at Paderborn University, Germany as part of the eki research project.

logo logo

logo logo

Metadata

Release files for finn-plus 1.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for finn-plus 1.6.2
File Size Uploaded Provenance Actions
finn_plus-1.6.2.tar.gz 1.2 MB Without provenance Details for finn_plus-1.6.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for finn-plus 1.6.2
File Interpreter ABI Platform Actions
finn_plus-1.6.2-py3-none-any.whl Python 3 none any Details for finn_plus-1.6.2-py3-none-any.whl

Total release size: 2.8 MB

Release files / finn_plus-1.6.2.tar.gz

Download URL finn_plus-1.6.2.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
2a36717f982a17752fb74bd6c94dd3e46af4c66c5fc886c49e053d92a614e34c
BLAKE2b-256 checksum
How to use checksums
daff2a4ae0062762295a8b073fb2889d2ca144b421994e7463fdbb880888553a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.14.10 Linux/7.0.0-1017-azure

Release files / finn_plus-1.6.2-py3-none-any.whl

Download URL finn_plus-1.6.2-py3-none-any.whl
Size 1.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
cb0340740a88520977fd7bb8866fd67691d65d6ddb1af8a4fd229ff15d4b7aa4
BLAKE2b-256 checksum
How to use checksums
7653b084fc2e21123eb7f6883c6d09e788b3305205a75b72f4e08661f3bce53b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.14.10 Linux/7.0.0-1017-azure

Security for finn-plus 1.6.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page