arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.14479cs.PL
收藏

TinyIREE:面向嵌入式系统从编译到部署的ML执行环境

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

Hsin-I Cindy Liu, Marius Brehler, Mahesh Ravishankar, Nicolas Vasilache, Ben Vanik, Stella Laurenzo

摘要:

在过去十年中,用于训练和执行的机器学习模型部署一直是工业和学术研究的重要主题。大部分注意力都集中在开发特定的工具链来支持加速硬件。在本文中,我们提出了IREE,一个统一的编译器和运行时堆栈,其明确目标是将机器学习程序缩减到移动和边缘设备的最小占用空间,同时保持扩展到更大部署目标的能力。IREE采用基于编译器的方法,并通过使用MLIR编译器基础设施来优化异构硬件加速器,该基础设施提供了快速设计和实现多层编译器中间表示(IR)的方法。更具体地说,本文重点关注TinyIREE,这是IREE中的一组部署选项,可适应嵌入式系统和裸机平台中有限的内存和计算资源,同时还展示了IREE的直观工作流程,可通过LLVM为不同的ISA扩展和ABI生成工作负载。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑