OAID/Tengine
OAID/Tengine has 4,532 GitHub stars and 982 forks. GitHot measured -1 stars in 24 hours and -3 in 7 days. Last checked 2026-11-04 21:54 UTC. Last push 2025-03-06.
Tengine is a lite, high performance, modular inference engine for embedded device
Measured star growth
- in 24h
- -1
- in 7 days
- -3
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
OriginalEnglish | 简体中文
Tengine
Introduction
Tengine is developed by OPEN AI LAB. This project meet the demand of fast and efficient deployment of deep learning neural network models on embedded devices. In order to achieve cross-platform deployment in many AIoT applications, this project is based on the original Tengine project using C language for reconstruction, and deep frame tailoring for the characteristics of limited embedded device resources. Also, it adopts a completely separated front-end/back-end design, which makes it possible to be transplanted and deployed onto CPU, GPU, NPU and other heterogeneous computing units rapidly, conveniently. At the same time, it is compatible with the original API and model format tmfile of Tengine, which reduces the cost of evaluation and migration.
The core code of Tengine Lite consists of 4 modules:
- device: NN Operators back-end module, currently provides CPU code, and gradually open source GPU and NPU reference code;
- scheduler: core components of the framework, including NNIR, Computational Graphs, Hardware Resources, and the scheduling and execution modules of model serializer;
- operator: NN Operators front-end module, which realizes registration and initialization of NN Operators;
- serializer: Model decoder, which decodes binary tmfile format into serialized model parameter.
Architecture

How to use
Compile
- Quick Compilation Simple cross-platform compilation based on cmake.
Example
- examples provides basic classification and detection algorithm use cases, which are continuously updated according to the needs of issues.
Model Zoo
Baidu Netdisk (password: 7ke5)
Model Convert tool
- Pre-compiled version: Pre-compiled model convert tool is provided on Linux system;
- Online Convert tool: Based on WebAssembly (the models are converted locally by browsers, no private data will be uploaded);
- Source Compilation: Refer to Tengine-Convert-Tools project, convert tool could be built by users.
Speed assessment
- Benchmark Basic network speed assessment tool, any pull request is welcomed.
NPU Plugin
- TIM-VX VeriSilicon NPU user manual.
AutoKernel Plugin
Container
Roadmap
Acknowledgement
Tengine Lite got ideas and developed based on these projects:
- Caffe
- Tensorflow
- MegEngine
- ONNX
- ncnn
- FeatherCNN
- MNN
- Paddle Lite
- ACL
- stb
- convertmodel
- TIM-VX
- SuperEdge
License
FAQ
Tech Forum
- Github issues
- QQ groupchat: 829565581
- Email: [email protected]
- Tengine Community: http://www.tengine.org.cn
Explore related projects
tensorflow/tensorflow
An Open Source Machine Learning Framework for Everyone
201,297 starshuggingface/transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
168,525 starsAUTOMATIC1111/stable-diffusion-webui
Stable Diffusion web UI
165,239 starsComfy-Org/ComfyUI
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
144,962 stars