#2626th of 433 in ML frameworks and libraries
mnn
On-device inference engine for mobile and embedded, with LLM and diffusion runtimes
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts mnn on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.mnn is on your watch list. Its new releases and problems show there.
- Stars
- 16.7k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- C++
14,508 on 25 Mar 202616,653 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
MNN is a C++ deep learning inference and training framework from Alibaba, aimed at phones and embedded devices. It converts TensorFlow, Caffe, ONNX and TorchScript models and runs them on ARM/x86 CPUs, OpenCL, Vulkan, Metal, CUDA and several NPUs. MNN-LLM and MNN-Diffusion run language and Stable Diffusion models locally, and the repo includes Android and iOS chat apps.
Who it is for: Mobile and embedded engineers deploying models on-device
Strengths
- Small footprint: about 800KB Android core .so, about 12MB iOS static library with full options
- Backends for ARM/x86 CPU, OpenCL, Vulkan, Metal, CUDA, CoreML, Hexagon, NNAPI
- Converter handles TensorFlow, Caffe, ONNX and TorchScript, plus FP16/Int8 quantization
- Ships MNN-LLM, MNN-Diffusion and Android/iOS demo apps; production use in 30+ Alibaba apps
Weaknesses
- Not a drop-in server: no OpenAI-compatible HTTP API described in the README
- Models must be converted to MNN format before use
- Several backends rated B or C in the support matrix, e.g. NNAPI, NeuroPilot, QNN FP32
- Community channels are mainly Chinese-language DingTalk groups
What it needs
- GPU optional
- Models: TensorFlow, TensorFlow Lite, Caffe, ONNX, TorchScript
What changed
- 3.6.2 ↗ (opens in a new tab)Security fix
“ONNX Conversion: Fixed operator attributes, default values, shapes, and type handling”
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #24 | feastFeature store that serves consistent ML features for training and online inference | 85 out of 100 |
| #25 | jaxPython library for autodiff, JIT compilation and vectorization of NumPy-style code | 84 out of 100 |
| #27 | fiftyoneDataset visualization, curation and model evaluation tool for computer vision | 84 out of 100 |
| #28 | tabpfnPretrained transformer for tabular classification and regression, no per-dataset training | 84 out of 100 |
| #29 | xgboostGradient boosted decision tree library for tabular machine learning | 83 out of 100 |