Estimate neural accelerator performance with ML Inference Advisor
Introduction
Understand MLIA and the NX Performance Estimator
Set up your MLIA environment
Download a public baseline model
Check baseline operator compatibility
Estimate baseline performance and inspect reports
Compare a smaller model under the same target profile
(Optional) Run and profile the model on an NX device
(Optional) Analyze ExecuTorch ETRecord and ETDump profiling
Next Steps
Estimate neural accelerator performance with ML Inference Advisor
Introduction
Understand MLIA and the NX Performance Estimator
Set up your MLIA environment
Download a public baseline model
Check baseline operator compatibility
Estimate baseline performance and inspect reports
Compare a smaller model under the same target profile
(Optional) Run and profile the model on an NX device
(Optional) Analyze ExecuTorch ETRecord and ETDump profiling
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.
Run
uname -m, python3.12 --version, and getconf GNU_LIBC_VERSION. You need x86_64, CPython 3.12.x, and glibc 2.39 or later on Ubuntu 24.04. You can’t use this wheel on Ubuntu 22.04, macOS, or Linux on Arm.Confirm the installation when prompted, read the Arm license, and continue only if you agree. If you’ve already installed the backend, proceed without repeating setup.
Run
mlia check models/baseline.tflite --target-profile neural-technology --compatibility --output-dir runs/baseline-compatibility. Read its report in runs/baseline-compatibility/mlia-output/mlia-output.json. Check that its compatibility status is ok and that no operator checks failed.Run
mlia check models/baseline.tflite --target-profile neural-technology --performance --output-dir runs/baseline. The reference result of 136,962 total cycles and 0.09131 ms per inference used Neural Technology 0.2.0 and LiteRT converter 0.1.2. Your setup uses versions 0.3.0 and 0.1.3, so use your generated report for the current estimate. These are compiler estimates, not timings measured on a device.Run compatibility and performance checks for
models/smaller.tflite with the same neural-technology target profile, writing each report to a separate directory. Compare your reports with the baseline, then validate task accuracy, preprocessing, and runtime behavior on representative data before deployment.