Back to skills
SKILL.md
Hls4ml
ASecurity"Convert, tune, and deploy hls4ml FPGA inference projects from
- 247 stars
- 0 votes
- 0 copies
- 2 views
- Added September 8, 2026
Security analysis
92/100- Installs packages at runtime which could introduce malicious dependencies
Pro scans all 20 files and shows the line behind each finding
npx -y skills add VectorSpaceLab/AREX-Skill --skill hls4ml --agent claude-codeAre you the author of Hls4ml?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vectorspacelab-hls4ml)---
name: hls4ml
description: "Convert, tune, and deploy hls4ml FPGA inference projects from
Keras, PyTorch, and ONNX inputs."
disable-model-invocation: true
metadata:
disco-role: operating
license: Apache 2.0
---
# hls4ml
Use this skill for hls4ml model conversion, backend project generation, tuning, and extension workflows.
## Install
- Base package: `pip install hls4ml`
- Frontend smokes and most CPU inspection tasks: add `hls4ml[testing]`
- Keras 2 / QKeras / HGQ workflows: add `hls4ml[testing-keras2]`
- Profiling and plotting: add `hls4ml[profiling]`
- Distributed arithmetic: add `hls4ml[da]`
- SNN helpers: add `hls4ml[snn]`
- Symbolic regression helpers: add `hls4ml[sr]`
Read `references/install-and-environment.md` if you need to choose between Keras 2 and Keras 3 families or if the optimization extra needs a separate Python version.
Quick import check:
```bash
python -c "import hls4ml; print(hls4ml.__version__)"
```
For a richer read-only probe, run `scripts/check_install.py`.
## Route map
- `frontends` — Keras, PyTorch, ONNX, quantized, spiking, serialization, and conversion smoke checks.
- `backends` — backend selection, generated projects, build/report flows, and report parsing.
- `analysis` — profiling, precision inference, bit-exact propagation, and resource tuning.
- `extensions` — custom layers, optimizer passes, template hooks, and backend/writer plugins.
## Read first when checking freshness
- `references/repo-provenance.md`
- `references/troubleshooting.md`
## Shared inspection helper
- `scripts/check_install.py` — print the installed package version, backend registry, supported-layer counts, and optional dependency status.
Files in this skill
- SKILL.md
- references/install-and-environment.md
- references/repo-provenance.md
- references/repo-routing-metadata.json
- references/troubleshooting.md
- scripts/check_install.py
- sub-skills/analysis/SKILL.md
- sub-skills/analysis/references/optimization-api.md
- sub-skills/analysis/references/precision-and-bit-exact.md
- sub-skills/analysis/references/profiling.md
- sub-skills/analysis/references/resource-tuning.md
- sub-skills/analysis/references/troubleshooting.md
- sub-skills/analysis/scripts/inspect_precision_config.py
- sub-skills/backends/SKILL.md
- sub-skills/backends/references/backend-matrix.md
- sub-skills/backends/references/build-and-reports.md
- sub-skills/backends/references/cli-reference.md
- sub-skills/backends/references/generated-project-layout.md
- sub-skills/backends/references/troubleshooting.md
- sub-skills/backends/scripts/check_cli_help.py
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.