Skip to content

Releases: arm/mlia-ethos-u

v0.1.0

Choose a tag to compare

@monty-bot monty-bot released this 17 Sep 16:30
b1eb6a4

v0.1.0 Release notes

Overview

v0.1.0 is the first public release of mlia-ethos-u, the ML Inference Advisor plugin package for Arm Ethos-U NPUs. It includes the Ethos-U target plugin, Vela compiler integration, Corstone simulation backends, and bundled target profiles.

This release brings together all development since the repository’s initial commit.

Supported targets:

  • Ethos-U55: 128 and 256 MAC configurations.
  • Ethos-U65: 256 and 512 MAC configurations.
  • Ethos-U85: 128, 256, 512, 1024, and 2048 MAC configurations.

Features included in this release:

  • Model compatibility analysis: Check LiteRT / TensorFlow Lite (.tflite) models for operator support and placement, with advice on unsupported operations and inefficient activation functions.
  • Vela performance estimation: Analyze TFLite and TOSA (.tosa, .tosamlir) models, with metrics covering cycles, inference time, throughput, utilization, memory usage, and memory access costs where available.
  • Corstone simulation: Run supported workloads through Corstone-300, Corstone-310, and Corstone-320, reporting model-wide NPU active, idle, and total cycles, utilization, and AXI traffic counters.
  • PyTorch and ExecuTorch workflows: Analyze exported PyTorch (.pt2) models through the optional mlia-converters-pytorch plugin, using TOSA for Vela estimates or ExecuTorch AOT conversion for supported Corstone runs. Prepared ExecuTorch (.pte) workloads can also run directly on supported Corstone backends.
  • Layer hotspot analysis: Identify expensive operators, low MAC utilization, and memory pressure where per-layer data is available.
  • CLI and Python API integration: Access Ethos-U analysis through the MLIA CLI or programmatically, including structured results from run_advisor.
  • Standardized reporting: Console and JSON output include backend attribution, result-level advice, warnings, and operator or layer breakdowns where available. Vela estimates and Corstone measurements retain distinct result scopes.
  • Traceable metrics: Preserve TFLite source operator IDs and associate performance breakdowns with source operators where possible. Layer metrics include explicit aggregation policies for additive work and peak memory usage.
  • Robust JSON output: Inference times use milliseconds; non-finite optional Vela metrics are omitted, and required metrics that cannot be derived are marked unavailable with a reason.
  • Backend setup: Lazy loading supports MLIA’s first-use backend installation flow. Corstone-320 supports its bundled Python runtime, and backend resources are discovered across MLIA resource directories.
  • Usability and documentation: Input validation, clearer backend failure reporting, Python logging integration, paging for long Vela operator listings, CLI and backend guides, troubleshooting documentation, and a Python API walkthrough notebook.

Requirements and support limits:

  • Requires Python 3.10 or later and MLIA 0.12.2.
  • Corstone backends support Linux on x86-64 and AArch64 and require acceptance of the applicable backend EULA.
  • Direct .pt2 input requires mlia-converters-pytorch.
  • ExecuTorch performance supports Ethos-U55 with Corstone-300 and Ethos-U85 with Corstone-320.
  • Ethos-U65 .pte performance is unsupported. For Ethos-U65 PyTorch performance estimates, use the original .pt2 input with Vela.
  • TOSA performance analysis uses Vela. Vela does not accept .pte inputs.
  • Reported performance figures refer to the NPU only.

v0.1.0rc2

v0.1.0rc2 Pre-release
Pre-release

Choose a tag to compare

@monty-bot monty-bot released this 17 Sep 15:27
b1eb6a4

What's Changed

  • ci: Require Black Duck before syncing main and release commits by @max-shvetsov
  • ci: Pin public sync to the merged workflow commit by @max-shvetsov

Full Changelog: v0.1.0rc1...v0.1.0rc2

v0.1.0rc1

v0.1.0rc1 Pre-release
Pre-release

Choose a tag to compare

@monty-bot monty-bot released this 16 Sep 16:24
2c96632

What's Changed

New Contributors

Full Changelog: v0.0.2...v0.1.0rc1