Skip to content
heliaAOT
Examples
HELIA HUB

Examples

Start with a model, then explore memory, precision, custom operators or hardware profiling. Every example includes a walkthrough, configuration and runnable script.

These examples require access to the private heliaAOT repository. A package-only installation does not include the example checkout.

Use a repository checkout with Bash and Python 3.11 or newer. From the repository root, prepare and activate the project environment:

Terminal window
uv sync --frozen --group ci
source .venv/bin/activate

No example downloads its model. An isolated CLI installation does not include the Python dependencies used by the model-building scripts.

Ethos-U needs a Vela-compiled model. Profiling needs a supported board and the profiler toolchain. Check the prerequisites on each example page before running it.

From the repository root, after activating the environment:

Terminal window
cd examples/first-model
./run.sh

The script converts the example’s model and writes the module under out/. Read the example page before selecting another configuration or building the generated firmware.

Six examples have CI conversion and host-compilation checks; these do not establish on-device numerical or timing qualification. Browse the source examples for their READMEs and scripts.

The canonical example overview documents examples/check.sh and its HELIA_CMSIS_NN_SOURCE_DIR dependency. This compiles individual translation units; it does not link or run target inference.

first-model/kws_ref holds the MLPerf Tiny keyword-spotting model and its golden fixture: byte-identical to the mlcommons/tiny artifact, with the fixture from helia-model-zoo at a fixed commit, Apache-2.0. Its README records the source revisions and the SHA-256 of both files.

The synthetic float-fp16, custom-operator and recurrent-state recipes build small fixtures locally.