Who is this for?

This Learning Path is for Android and machine learning developers who want to run optimized text-generation and text-embedding models locally on an Arm-based Android phone.

What will you learn?

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

  • Prepare the Android command-line tools and connect an Arm-based Android phone.
  • Download and run an ExecuTorch text-generation model from the Arm AI Portal.
  • Understand how the starter application uses model catalog entries and runtime adapters.
  • Compare the validated ExecuTorch and ONNX Runtime GenAI adapter paths.

Prerequisites

Before starting, you'll need the following prerequisites:

  • A macOS, Linux, or Windows development machine with Git, Python 3.10 or later, and JDK 17
  • Tools for downloading and extracting ZIP archives on the machine
  • An Arm-based Android phone with enough free storage for application and model files
  • A data-capable USB cable
  • A Hugging Face account with access to the model repositories
  • Basic familiarity with terminal commands and Android applications
  • Network access for the first Gradle build and model downloads

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 prepare Android command-line tools, connect an Arm-based phone, and run a validated Arm AI Portal text-generation model locally. First, you’ll download SmolLM2 360M Instruct and build the starter application with its ExecuTorch adapter. Next, you’ll copy the model into application-private storage and verify generated text offline. You’ll also compare the ONNX Runtime GenAI adapter path and optionally prepare to support another model.