Distributed ML on Unikernel for IoT

Embedded Linux Conference Europe 2019

Ericsson
OCaml
DNN
Unikernel
TinyML
TinyMLaaS
Author

Hiroshi Doyu

Published

May 28, 2025

A slightly nostalgic look back at where this journey began.

Back in 2019, it felt almost extreme to run a Deep Neural Network on a Unikernel (MirageOS), written in a functional programming language (OCaml), running on a microcontroller like the ESP32, at Embedded Linux Conference Europe 2019

Machine Learning (ML) has been happening only in Cloud and some inference on Edge. But there’s quite few ML happening in IoT where Linux cannot fit. This area is called TinyML. In order to democratize ML in IoT, I propose TinyML as-a-Service, which would bring ML onto microcontrollers with 3 enablers, (1) Unikernel, (2) ML compiler and (3) CoAP. In this session, I’ll explain our end-to-end experiment of how we tackled to bring ML onto Edge & microcontrollers, show demo and also discuss future possibilites. The audience are not expected much. The following links may be helpful if you discuss this session deeper but I’ll explain them, anyway;) Enjoy!!

https://osseu19.sched.com/event/TLCJ/distributed-ml-on-unikernels-for-iot-hiroshi-doyu-ericsson