The Arm ML Evaluation Kit (MLEK) provides a number of ready-to-use ML applications. These allow you to investigate the embedded software stack and evaluate performance on the Cortex-M55 and Ethos-U55 processors.
You can use the MLEK source code to build sample applications and run them on the Corstone-300 Fixed Virtual Platform (FVP).
You can use your own Ubuntu Linux host machine or use Arm Virtual Hardware (AVH) for this Learning Path.
The Ubuntu version should be 20.04 or 22.04. The
x86_64 architecture must be used because the Corstone-300 FVP is not currently available for the Arm architecture. You will need a Linux desktop to run the FVP because it opens graphical windows for input and output from the software applications.
If you want to use Arm Virtual Hardware the Arm Virtual Hardware install guide provides setup instructions.
Use the install guides to install the compilers on your computer:
Both compilers are pre-installed in Arm Virtual Hardware.
To install the Corstone-300 FVP on your computer refer to the install guide for Arm Ecosystem FVPs .
The Corstone-300 FVP is pre-installed in Arm Virtual Hardware.
virtualenvto create Python virtual environments:
sudo apt update sudo apt install python3-venv -y
git clone "https://review.mlplatform.org/ml/ethos-u/ml-embedded-evaluation-kit" cd ml-embedded-evaluation-kit git submodule update --init
The default compiler is
armclang can also be used.
You can select either compiler to build applications. You can also try them both and compare the results.
./build_default.py --toolchain arm
The build will take a few minutes.
When the build is complete, you will find the example images (
.axf files) in the
cmake-build-*/bin directory. The
cmake-build directory names are specific to the compiler used and Ethos-U55 configuration.