Run image classification with ExecuTorch on Alif E8 and Ethos-U85
Introduction
Set up the Alif Ensemble E8 DevKit
Compile the model on an Arm cloud instance
Create the image classification firmware project
Add the application code
Configure memory layout and flash settings
Prepare a test image
Build, flash, and verify inference
Next Steps
Run image classification with ExecuTorch on Alif E8 and Ethos-U85
Review frequently asked questions
These FAQs were 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.
Use the Cortex-M55 High-Performance (HP) core to orchestrate inference on the Ethos-U85. The steps assume this core for building, flashing, and running the application.
You’ll have ExecuTorch static libraries and a compiled MobileNetV2 model targeted for the Ethos-U85. These outputs are linked into the
mv2_runner firmware project.Rename
blinky.cproject.yml to mv2_runner.cproject.yml and replace internal references from blinky to mv2_runner. This establishes a new CMSIS project for the application.Place
main.cpp in the mv2_runner project directory as instructed. When you flash and run the firmware, check the SEGGER RTT console for the printed classification result.Increase MRAM allocation for the embedded model (about 3.7 MB) and code (around 800 KB), and provision approximately 7.6 MB of SRAM for inference buffers. Update stack and heap sizes, and the linker script in the CMSIS project accordingly.