Deploying Machine Learning Models to Ahead-of-Time Runtime on Edge Using MicroTVM
Research output: Contribution to book/Conference proceedings/Anthology/Report › Conference contribution › Contributed › peer-review
Contributors
Abstract
In the past few years, more and more AI applications have been applied to edge devices. However, models trained by data scientists with machine learning frameworks, such as PyTorch or TensorFlow, can not be seamlessly executed on edge. In this paper, we develop an end-to-end code generator parsing a pre-trained model to C source libraries for the backend using MicroTVM, a machine learning compiler framework extension addressing inference on bare metal devices. An analysis shows that specific compute-intensive operators can be easily offloaded to the dedicated accelerator with a Universal Modular Accelerator (UMA) interface, while others are processed in the CPU cores. By using the automatically generated ahead-of-time C runtime, we conduct a hand gesture recognition experiment on an ARM Cortex M4F core.
Details
Original language | English |
---|---|
Title of host publication | Proceedings - 2023 IEEE/ACM International Workshop on Compilers, Deployment, and Tooling for Edge AI, CODAI 2023 |
Pages | 37 - 40 |
Number of pages | 4 |
ISBN (electronic) | 9798400703379 |
Publication status | Published - 21 Sept 2023 |
Peer-reviewed | Yes |
External IDs
ORCID | /0000-0002-6286-5064/work/166324418 |
---|---|
Scopus | 85196382990 |
Keywords
ASJC Scopus subject areas
Keywords
- BYOC, MicroTVM, TVM, UMA, model deployment