NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Paddle Lite on Zephyr: Deploying AI Models in RTOS for Inference Acceleration

Guodong Zhang, Guoqi Xie, Wenyan Yan, Chenglai Xiong, Junjie Wen, Zhenli He, Shaowen Yao

Abstract

With the rapid development of deep learning techniques in mobile and embedded devices, light-weight inference engines (e.g., Paddle Lite and TensorFlow Lite) are emerged. In some real-time application scenarios, these light-weight inference engines require time acceleration and low memory consumption. Paddle Lite is a well-known open-source inference engine that is fully functional. However, Paddle Lite only supports regular OS (e.g., Linux, Windows, and iOS), making it difficult to achieve time acceleration and low memory consumption for real-time application scenarios during inference. In this brief, we propose the Paddle Lite on Zephyr solution for inference acceleration in RTOS. We first propose a modular compilation method to incorporate the most basic functions of Paddle Lite. To address the system differences between RTOS and Linux, we resolve the system-level and compilation-level issues from modular compilation. We then load the Paddle Lite model into memory as a device when the system starts up. We further design an inference method that skips third-party libraries during inference and thus obtains the same inference results as Linux. We deploy the Paddle Lite on Zephyr and conduct experiments with seven classic Convolutional Neural Network (CNN) models on a single-core CPU. The experiment results show that the average inference time on Zephyr RTOS is reduced by 7%, and the average memory consumption is reduced by 78% compared to Linux. This work has merged an upstream branch of the Paddle Lite.
BibTeX
@article{zhang2026paddle,
  author = {Guodong Zhang and Guoqi Xie and Wenyan Yan and Chenglai Xiong and Junjie Wen and Zhenli He and Shaowen Yao},
  title = {{Paddle Lite on Zephyr: Deploying AI Models in RTOS for Inference Acceleration}},
  journal = {IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.},
  year = {2026},
  doi = {10.1109/tcad.2025.3581867},
}

Loading related content...

Figure