Deploy a Zephyr ML app on Corstone-320 MPS4 with ExecuTorch
Introduction
Set up the Zephyr and ExecuTorch development environment
Build and run an ML app on Corstone-320 MPS4
Next Steps
Deploy a Zephyr ML app on Corstone-320 MPS4 with ExecuTorch
Who is this for?
This is an introductory topic for embedded software developers who want to deploy a Zephyr-based ML Application on the Arm Corstone-320 MPS4 Platform with ExecuTorch.
What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Set up a Zephyr and ExecuTorch development environment for Corstone-320 MPS4.
- Quantize and export a PyTorch model for Ethos-U85 neural processing unit (NPU) delegation.
- Configure and build the Zephyr `hello-executorch` application for Corstone-320 MPS4.
- Run the application on the MPS4 board and verify machine learning (ML) inference through UART output.
Prerequisites
Before starting, you'll need the following prerequisites:
- Basic familiarity with embedded C programming
- Basic familiarity with machine learning concepts
- A Zephyr workspace and board target using Zephyr version V4.3.0 that you prepared by completing the Port Zephyr RTOS and run applications on the Arm Corstone-320 MPS4 platform Learning Path
- A Corstone-320 MPS4 FPGA development board
- A Linux development environment, such as Ubuntu 22.04 or later
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 deploy a Zephyr machine learning application on the Arm Corstone-320 MPS4 with ExecuTorch. First, you’ll download the FI101 FPGA image and set up the Zephyr and ExecuTorch environment. Next, you’ll quantize and export a PyTorch model as a
.pte file for Ethos-U85 delegation. Finally, you’ll port a sample application, configure SRAM-only NPU regions, build the application and run it on the MPS4, and verify inference over UART.