Guides
Use these guides to adapt a working conversion to your model and firmware. Each guide explains the relevant controls, shows an example and describes what to check afterward. For your first model, follow Getting started.
Core concepts
Section titled “Core concepts”Follow a model through compilation into a C module.
Check model compatibility, tensor roles and lowering constraints.
Understand integer and experimental float paths.
Check the processor, memories and capabilities of your board.
Integrate into firmware
Section titled “Integrate into firmware”Use the existing firmware integration recipes for your build system, or follow Migrating from heliaRT.
Choose how generated sources join your firmware build.
Configure and optimize
Section titled “Configure and optimize”Start with defaults, inspect the result, then change the setting for your constraint. Transforms and execution settings live in Configuring a conversion.
Set configuration precedence, transforms, operator settings and instrumentation.
Understand constants, persistent state, scratch storage and lifetime reuse.
Inspect where tensors and arenas live before changing placement.
Choose memory banks, stage constants and bind application-owned arenas.
Place generated code and tensor arenas, then verify the linked image.
Compare scratch planners and their supported constraints.
Understand choices that affect code size, memory and inference time.
Every speed/accuracy option, its default, measured gain and cost, and how to set it.
Validate and measure
Section titled “Validate and measure”Compare outputs with reference data, carry recurrent state and automate checks.
Profile your model on hardware and compare recorded runs.
Read recorded results with their build conditions and limitations.
Extend
Section titled “Extend”Call the converter and customize its registry from Python.
Add parsing, validation and code generation for an operation.
Explore AIR, handler lifecycles and kernel selection when extending the compiler.
Troubleshoot
Section titled “Troubleshoot”Find a remedy for a conversion or integration failure.
Related guides
Section titled “Related guides”Use Reference for exact fields, flags, target data and APIs. Examples provides runnable configurations for specific tasks.