Compile Your First Model
This walkthrough takes a ResNet-50 ONNX model through the Model Compiler
Post-Training Quantization (PTQ) workflow. The result is a compiled
.tar.gz MPK archive for the Neat runtime.
The workflow has four stages:
- Load the model.
- Quantize it to INT8 by default, or BF16 when requested.
- Validate its accuracy.
- Compile it for execution on the MLSoC.
Prerequisites
sima-cliinstalled (see the sima-cli setup guide).- Model Compiler installed in the Neat SDK or on an Ubuntu host. Enter the environment with:
activate-model-compiler