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

Stars
24.1k
License
custom license
Last commit
Nov 2026
Last release
Oct 2026
Language
C++
Stars, last 35 weeks+1,303
25 Mar 2026: 22,810 stars1 Apr 2026: 22,882 stars8 Apr 2026: 22,917 stars15 Apr 2026: 22,974 stars22 Apr 2026: 23,013 stars29 Apr 2026: 23,051 stars6 May 2026: 23,075 stars13 May 2026: 23,112 stars20 May 2026: 23,160 stars27 May 2026: 23,199 stars3 Jun 2026: 23,240 stars10 Jun 2026: 23,273 stars17 Jun 2026: 23,301 stars24 Jun 2026: 23,332 stars1 Jul 2026: 23,383 stars8 Jul 2026: 23,429 stars15 Jul 2026: 23,468 stars22 Jul 2026: 23,496 stars29 Jul 2026: 23,551 stars5 Aug 2026: 23,582 stars12 Aug 2026: 23,623 stars19 Aug 2026: 23,659 stars26 Aug 2026: 23,698 stars2 Sept 2026: 23,733 stars9 Sept 2026: 23,756 stars16 Sept 2026: 23,784 stars23 Sept 2026: 23,830 stars30 Sept 2026: 23,874 stars7 Oct 2026: 23,892 stars14 Oct 2026: 23,939 stars21 Oct 2026: 23,971 stars28 Oct 2026: 23,997 stars4 Nov 2026: 24,020 stars11 Nov 2026: 24,046 stars18 Nov 2026: 24,076 stars25 Nov 2026: 24,113 stars

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
Also in ML frameworks and libraries
RankProjectScore
#76deeplabcutMarkerless animal pose estimation toolbox with GUI and Python API Live demo ↗ (opens in a new tab)5.8k starsLGPL-3.077 out of 100
#77tinygradSmall deep learning stack with tensors, autograd, and a readable compiler34k starsMIT76 out of 100
#79visionPyTorch library of vision datasets, model architectures and image transforms18k starsBSD-3-Clause76 out of 100
#80flaxNeural network library for JAX built around mutable Python objects7.4k starsApache-2.076 out of 100
#81flowerPython framework for federated learning across clients with any ML library7.2k starsApache-2.076 out of 100