Skip to content
heliaAOT
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

Fetched-model examples also need curl and sha256sum or shasum. 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 fetches or builds its model and writes the converted 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. No model binaries are committed.

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.

The examples that use a model from helia-model-zoo use audio/mlperf-tiny/kws_ref. The checked-in run scripts define the expected model and golden SHA-256 values. Consult the upstream model card for its provenance; this example does not establish the current contents of the entire zoo or its manifest.

The downloader uses fixed SHA-256 values but fetches from the zoo’s main branch. A changed artifact fails the hash check; do not replace the expected hash just to make a download succeed. Record the model hash and the source revision with your conversion.

These examples do not establish redistribution rights for the downloaded model. Check the upstream model card and applicable terms for your use; a model-family name or this repository’s software licence does not establish the model’s licence. The synthetic float-fp16, custom-operator and recurrent-state recipes build small fixtures locally and make no claim about what other models the current zoo contains.