Estimate performance before deployment

Arm ML Inference Advisor (MLIA) helps you evaluate a model for an Arm target before you build a deployment pipeline or tune an application on a device. You provide a model and a target profile, then inspect compatibility checks, performance metrics, and advice.

Use the mlia-neural-technology package to evaluate two pretrained, quantized MobileNet V1 image classifiers from TensorFlow’s public model catalog. You’ll compare a baseline with a smaller-input variant under the same Neural Technology configuration. You don’t need a model stored in this repository or a device to run the estimator.

The tested example reduces estimated total cycles from 136,962 to 79,824. These are compiler estimates, not device measurements or an accuracy result. The model comparison section explains the model and configuration assumptions behind this comparison.

If you have an NX-capable Android device and a compatible native Vulkan driver, the optional device section shows how to execute the model and bring a measured capture back to MLIA.

Connect the NX and Ethos-U workflows

The Analyze Ethos-U models with MLIA Learning Path applies the same workflow to Arm Ethos-U: select a target profile, check compatibility, inspect performance, and use the advice to guide your next change. It uses Vela for compiler estimates and Corstone for whole-model NPU performance counters. Here, you’ll use the Neural Technology plugin and NX Performance Estimator, with optional measurements from an Android device.

The report-reading approach carries across targets, but their backends, supported operators, and performance metrics differ. Don’t compare cycle counts across targets as though they describe the same hardware configuration.

Understand the conversion and analysis flow

The Neural Accelerator (NX) Performance Estimator backend evaluates Arm Neural Technology targets. You download the models and pass their .tflite files directly to MLIA. With the LiteRT converter plugin installed, MLIA handles the conversion and analysis:

  1. Convert the LiteRT model to Tensor Operator Set Architecture (TOSA) MLIR and check operator compatibility.
  2. Compile the graph to a Vulkan Graph Format (VGF) artifact and run the NX Performance Estimator for a performance check.
  3. Write standardized JSON results and the intermediate model artifacts to your output directory.

You don’t need to run a separate converter or manage intermediate model files.

Select a target profile

The Neural Technology plugin supplies neural-technology, NX-peak-12SC-8NX-600MHz, and NX-sustained-12SC-8NX-350MHz profiles. Each profile selects system and compiler configuration files. Use the same profile and configuration when comparing model variants; changing both the model and the target makes the result harder to interpret.

What you’ve learned and what’s next

You’ve learned how model conversion, compatibility analysis, and performance estimation fit together. Next, you’ll install the public packages and verify that the Neural Technology profiles are available.

Back
Next