Who is this for?

This is an advanced topic for developers looking to leverage Arm's Scalable Matrix Extension 2 (SME2) instructions to accelerate LiteRT model inference on Android.

What will you learn?

After completing this Learning Path, you'll be able to perform the following tasks:

  • Understand how KleidiAI integrates with LiteRT
  • Build the LiteRT benchmark tool and enable XNNPACK and KleidiAI with SME2 support in LiteRT
  • Create LiteRT models that can be accelerated by SME2 through KleidiAI
  • Use the benchmark tool to evaluate and validate the SME2 acceleration performance of LiteRT models

Prerequisites

Before starting, you'll need the following prerequisites:

Summary

AI-assisted

This summary was 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.

Close
?
You’ll accelerate LiteRT inference on Android with KleidiAI SME2 microkernels through XNNPACK. First, you’ll create models using supported operators and data types, then build a KleidiAI-enabled benchmark and a baseline. After verifying SME2 support, you’ll run both on the same model and compare results, including fallback behavior for unsupported operators.
Next