heliaPROFILER (hpx) is a command-line toolkit for profiling AI models on Ambiq hardware. Measure inference latency, find costly layers, and compare engine and memory choices using saved results.
Measure the full inference, then use per-layer timings to decide what to optimize.
02 / CPU and NPU profiling
Hardware performance counters
Arm MVE / HeliumEthos-U NPUVector instructionsNPU counters
MVE on supported targets · NPU FPGA support experimental
Inspect MVE and NPU execution.
Examine vector activity and NPU counters. Ethos-U profiling on Atomiq110 FPGA is experimental.
03 / Compare the next run
LiteRTheliaAOT
Latency38.69 ms → 12.14 ms
Total model memory89.7 KB → 40.4 KB
heartKIT AFIB · Apollo510 · CPU / Helium, no NPU
3.2x faster, 55% less memory.
heartKIT AFIB on Apollo510, LiteRT → heliaAOT.
04 / Measure power and energy
Inference window
Power traceEnergy / inference
Measure energy per inference.
Measure the monitored supply with a supported Joulescope or INA228, alongside inference timing.
Measure · Inspect · Compare
From setup to a side-by-side comparison.
Check your tools, find a debug probe and profile the heartKIT AFIB arrhythmia classifier. Compare LiteRT with heliaAOT to see the difference in latency and model memory.
Setup output shows an illustrative connected probe. Commands are illustrative excerpts, not a runnable recipe: afib.yml stands for your own configuration file. The tables show measured profiling results. Select a step to explore; click the active step to pause or resume.
About this profiling example
heartKIT arr-2-eff-sm (INT8). Apollo510 EVB, Cortex-M55 with Helium, 96 MHz low-power mode; no NPU. ATfE 22.1.0.
LiteRT: Ambiq TFLM with Arm CMSIS-NN. heliaAOT 0.23: ns-cmsis-nn 7.36.
Measured 2026-09-28: 5 warmups, 100 profiled iterations. Median latency from a clean window of 48 inferences.
Total model memory = activation arena + model storage. Arena means LiteRT’s actual usage or AOT’s static arena; storage means the LiteRT flatbuffer or AOT’s packed constants.
Compare timing, memory and energy alongside the settings that produced them. hpx flags incompatible measurements and leaves out per-layer differences when operation sequences do not match.
Evaluate engines and compilers
Keep the model and target fixed, then measure the effect of an engine or compiler change.
Each result bundle keeps measurements, configuration and source information together. Revisit a run, share it with a colleague or analyze its CSV and JSON reports.
Profile with LiteRT, heliaRT or heliaAOT. Apollo510 EVB and Apollo3P EVB are the 2 stable boards in the registry. Other targets are preview or experimental. Check the tested combinations for engine support and available measurements.