fastmachinelearning/hls4ml
Machine learning on FPGAs using HLS observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 99
- Release rhythm 51
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 136
- age_days: 3234
- days_rel: 166
- days_push: 7
- n_releases_24m: 4
Adoption not part of the score
2114 stars · 582 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
hls4ml is a Python package that converts machine learning models from Keras, PyTorch, and ONNX into high-level synthesis (C++) code for FPGA firmware. It targets ultra-low-latency, low-power neural network inference, originally for LHC trigger systems but now used across scientific and industrial domains.
Use cases
- deploy neural networks on FPGAs with microsecond latency
- convert Keras or PyTorch models to HLS firmware
- build low-latency trigger systems for particle physics detectors
- run quantized neural network inference on low-power hardware
- implement ML inference for satellite or biomedical signal processing
- compile ONNX models to FPGA bitstreams
When to choose
- you need ultra-low-latency (microsecond-scale) ML inference on FPGAs
- your model is small and can be compressed with quantization and pruning
- you use supported architectures like MLPs, CNNs, or RNNs with Keras, PyTorch, or ONNX
- you work with AMD/Xilinx, Intel, or Catapult HLS toolchains
When to avoid
- you need large models like transformers or graph networks, which are not yet stable
- you target Windows or macOS, which are not supported
- you don't have access to a vendor HLS toolchain
- you need GPU or CPU inference rather than FPGA deployment
Facets
library · maturity active
machine-learning compiler llm-inference embedded machine-learning embedded-systems hardware deep-learning gpu-computing python embedded fpga high-level-synthesis neural-network-inference low-latency quantization vivado vitis catapult keras pytorch onnx qkeras high-energy-physics linux
4 sources
- readme: https://github.com/fastmachinelearning/hls4ml · fetched 2026-08-28 · 05f30b61df37
- homepage: https://fastmachinelearning.org/hls4ml · fetched 2026-08-29 · 751d98b8affa
- site_page: https://fastmachinelearning.org/hls4ml/intro/status.html · fetched 2026-08-29 · eaf3c705f837
- site_page: https://fastmachinelearning.org/hls4ml/intro/faq.html · fetched 2026-08-29 · aca849c5c85c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fastmachinelearning/hls4ml | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="fastmachinelearning/hls4ml")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem