TinyIREE: An ML Execution Environment for Embedded Systems from Compilation to Deployment

Hsin-I Cindy Liu, Marius Brehler, Mahesh Ravishankar, Nicolas Vasilache, Ben Vanik +1 more
5/28/2022
cs.PL

Official code: iree-org/iree-bare-metal-arm (44 stars, C, last commit 2026-02-24).

Abstract

Machine learning model deployment for training and execution has been an important topic for industry and academic research in the last decade. Much of the attention has been focused on developing specific toolchains to support acceleration hardware.

Show full abstract

In this paper, we present IREE, a unified compiler and runtime stack with the explicit goal to scale down machine learning programs to the smallest footprints for mobile and edge devices, while maintaining the ability to scale up to larger deployment targets. IREE adopts a compiler-based approach and optimizes for heterogeneous hardware accelerators through the use of the MLIR compiler infrastructure which provides the means to quickly design and implement multi-level compiler intermediate representations (IR). More specifically, this paper is focused on TinyIREE, which is a set of deployment options in IREE that accommodate the limited memory and computation resources in embedded systems and bare-metal platforms, while also demonstrating IREE's intuitive workflow that generates workloads for different ISA extensions and ABIs through LLVM.

View on arXivView PDF

Code Implementations(1)

Example for running IREE in a bare-metal Arm environment.

4417C, Linker ScriptJun 29, 20219 months ago
armbare-metaliree

Similar Papers

Cite this paper

@article{liu2022tinyiree,
  title  = {TinyIREE: An ML Execution Environment for Embedded Systems from Compilation to Deployment},
  author = {Hsin-I Cindy Liu and Marius Brehler and Mahesh Ravishankar and Nicolas Vasilache and Ben Vanik and Stella Laurenzo},
  year   = {2022},
  eprint = {2205.14479},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.14479}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.14479.svg)](https://codeofpaper.com/paper/2205.14479)

Discussion