Convert SmolVLA to ExecuTorch for inference on Arm CPUs
Who is this for?
This is an advanced topic for machine learning developers who want to export a vision-language-action model to ExecuTorch for inference on an Arm CPU.
What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Export SmolVLA from PyTorch to ExecuTorch, and lower the model to run on Arm CPU using the XNNPACK backend.
- Run the FP32 ExecuTorch model on Arm CPU and validate its output against the PyTorch model.
- Export a model to ExecuTorch with eligible linear weights quantized to INT8.
- Compare outputs and latency between the FP32 and INT8 models running on the Arm CPU.
Prerequisites
Before starting, you'll need the following prerequisites:
- An AArch64 Ubuntu system with at least 20 GB of free storage. This Learning Path was tested on NVIDIA’s DGX Spark
- Familiarity with Python, PyTorch, and the Linux command-line
Summary
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.
You’ll convert the SmolVLA vision-language-action model from PyTorch to ExecuTorch, lower it to XNNPACK for Arm CPU inference, and validate the FP32 result against the original model. First, you’ll generate deterministic inputs, export the FP32 components, and run them through a native orchestrator. Then, you’ll quantize eligible operations to INT8 with TorchAO and reuse the same inputs to compare model outputs, latency, and
.pte sizes.