#7878th of 433 in ML frameworks and libraries
ncnn
C++ neural network inference library for mobile, embedded and desktop devices
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 ncnn on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.ncnn is on your watch list. Its new releases and problems show there.
- Stars
- 24.1k
- License
- custom license
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- C++
22,810 on 25 Mar 202624,113 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
ncnn runs neural network inference in C++ (with a Python binding) on CPU or Vulkan GPU backends, with no third-party runtime dependencies. Models are converted from PyTorch or ONNX with the pnnx tool into .param and .bin files. It targets phones, PCs, browsers via WebAssembly and edge devices, and is used in Tencent apps such as QQ and WeChat.
Who it is for: Engineers deploying neural nets on mobile, embedded or edge devices
Strengths
- No third-party runtime dependencies; CPU and Vulkan GPU backends
- Prebuilt packages for Android, iOS, HarmonyOS, macOS, Linux, Windows and WebAssembly
- pnnx converts PyTorch and ONNX models; C++ and Python APIs
- Build guides for Raspberry Pi, Jetson, MIPS, POWER, AllWinner D1, Loongson
Weaknesses
- Library only: no HTTP server or OpenAI-compatible API included
- Models must be converted to ncnn's own param/bin format first
- Embedded targets need cross-compiling with manual steps from the wiki
- License reported as NOASSERTION, although the README badge says BSD 3-Clause
What it needs
- GPU optional
- Models: PyTorch (via pnnx), ONNX, ncnn param/bin
What changed
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 |
|---|---|---|
| #76 | deeplabcutMarkerless animal pose estimation toolbox with GUI and Python API | 77 out of 100 |
| #77 | tinygradSmall deep learning stack with tensors, autograd, and a readable compiler | 76 out of 100 |
| #79 | visionPyTorch library of vision datasets, model architectures and image transforms | 76 out of 100 |
| #80 | flaxNeural network library for JAX built around mutable Python objects | 76 out of 100 |
| #81 | flowerPython framework for federated learning across clients with any ML library | 76 out of 100 |