Analyze Arm Ethos-U models with Arm ML Inference Advisor
Introduction
Understand where MLIA fits in model preparation
Install MLIA and discover capabilities
Analyze LiteRT artifacts with MLIA and Vela
Analyze TOSA IR artifacts with MLIA and Vela
Analyze ExecuTorch artifacts with MLIA and Corstone
(Optional) Use the MLIA Python API
(Optional) Use the MLIA and Model Explorer VS Code extension
Next Steps
Analyze Arm Ethos-U models with Arm ML Inference Advisor
Introduction
Understand where MLIA fits in model preparation
Install MLIA and discover capabilities
Analyze LiteRT artifacts with MLIA and Vela
Analyze TOSA IR artifacts with MLIA and Vela
Analyze ExecuTorch artifacts with MLIA and Corstone
(Optional) Use the MLIA Python API
(Optional) Use the MLIA and Model Explorer VS Code extension
Next Steps
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
On Ubuntu 24.04, run
sudo apt update, then install Git, Git LFS, and the Python 3.12 development and virtual environment packages with sudo apt install -y git git-lfs python3.12-dev python3.12-venv libatomic1. Confirm Git LFS is available with git lfs version. Run git lfs install before you clone the repository and pull the model artifacts.Activate your virtual environment with
source mlia_env/bin/activate, then run mlia --help to confirm that the CLI works. To list target profiles, run mlia target list. To see available and installed backends, run mlia backend list.Ethos-U acceleration needs supported quantized integer workloads. The FP32 model lacks the needed quantization parameters, so MLIA reports
accelerator_operator_percentage as 0. For the supplied INT8 model, Vela reports status as ok and accelerator_operator_percentage as 100.0 for the ethos-u85-256 profile.You get target-aware compiler estimates, including cycles, utilization, memory use, and operator-level breakdowns when available. Treat these values as estimates for NPU work rather than final latency measurements from hardware. Use the advice to identify operators that dominate estimated cycles or have low multiply-accumulate (MAC) utilization.
Use
run_advisor() from the Python API when you want to integrate MLIA compatibility checks into a product, dashboard, workflow runner, or CI system.