HTVM: Efficient Neural Network Deployment On Heterogeneous TinyML Platforms

Josse Van Delm, Maarten Vandersteegen, Alessio Burrello, Giuseppe Maria Sarda, Francesco Conti, Daniele Jahier Pagliari, Luca Benini, Marian Verhelst · DOI

Abstract

Optimal deployment of deep neural networks (DNNs) on state-of-the-art Systems-on-Chips (SoCs) is crucial for tiny machine learning (TinyML) at the edge. The complexity of these SoCs makes deployment non-trivial, as they typically contain multiple heterogeneous compute cores with limited, programmer-managed memory to optimize latency and energy efficiency. We propose HTVM - a compiler that merges TVM with DORY to maximize the utilization of heterogeneous accelerators and minimize data movements. HTVM allows deploying the MLPerf(TM) Tiny suite on DIANA, an SoC with a RISC-V CPU, and digital and analog compute-in-memory AI accelerators, at 120x improved performance over plain TVM deployment.
BibTeX
@inproceedings{delm2023htvm,
  author = {Josse Van Delm and Maarten Vandersteegen and Alessio Burrello and Giuseppe Maria Sarda and Francesco Conti and Daniele Jahier Pagliari and Luca Benini and Marian Verhelst},
  title = {{HTVM: Efficient Neural Network Deployment On Heterogeneous TinyML Platforms}},
  booktitle = {DAC},
  year = {2023},
}
Figure