
A common perception is that all AI needs a great deal of compute power. Yet many AI inference models run successfully on the very smallest of processors.
Since September 2026, we have been publishing a series of posts, showing how the IREE MLIR tool flow can be used to bring up AI models on small bare metal microcontrollers. This post conveniently brings together all those posts.
Read more
IREE compiles a model once on your workstation and runs it on bare metal with a small C runtime. In Part 3 we follow a matrix multiplication from MLIR down to RISC-V, run it on one core of a four-core CV32E40Pv2 cluster, and measure what it costs against the same calculation written by hand in C.
Read more
In Part 2 we build a cycle-accurate Verilator model of a four-core CV32E40Pv2 cluster, run our first programs on it, and measure what memory costs: twenty cycles for a core to reach off-core memory, and when it pays to copy data into the fast local scratchpad first.
Read more
This summer I have been working on adding auto-vectorization for CORE-V’s SIMD (Single Instruction, Multiple Data) extension in GCC. CORE-V SIMD was developed by the PULP project at ETH Zürich and the University of Bologna. It is similar to, but predates, the proposed RISC-V P extension. The work here is based on the OpenHW Foundation’s […]
Read more
IREE compiles a machine learning model into native code for your target, instead of interpreting it through a fixed library of kernels. In Part 1 we explain why that suits a small bare metal microcontroller, compare it with ExecuTorch, and introduce the four-core CV32E40Pv2 cluster this series runs on.
Read more
There is a common misconception that modern AI needs a large data center and lots of GPUs to run. However there are a great many very useful AI models which can run inference on much smaller devices.
Read more
Over past months I have posted a great deal about our work bringing up the ExecuTorch AI framework on bare metal microcontrollers. Much of this work has been done in collaboration with our colleagues at Mosaic SoC. This is true Edge AI, where we run real world AI models on hardware that is small enough […]
Read more
A few of weeks ago, I was at FOSDEM and then the AI Plumbers conference in Brussels with my colleagues Pietra Ferreira, Shane Slattery and William Jones. While many of the talks focused on LLMs, the Embecosm team attracted a great deal of interest for our work bringing up PyTorch/ExecuTorch on a bare metal microcontroller. […]
Read more
In my last post I looked at how the tools we use in open source development can be used to assess the health of our communities. Recently I used those same techniques as part of a poster I presented at the RISC-V European Summit comparing GCC and LLVM for RISC-V. I focused particularly on RISC-V […]
Read more