Back to Gap Map Model components / Inference code

ncnn

Tencent
open source / Overall score: 3.0

ncnn is a neural network inference runtime optimized for mobile, embedded and desktop deployment, with no third-party dependency in its core. It ships pnnx for converting PyTorch and ONNX models into its own format, and targets general neural network inference rather than LLM serving specifically.

Openness

5 medium confidence
5.0
license
BSD-3-Clause(OSI)
source
public(the published repository is the engine)
core features withheld
no — no enterprise path in the repository root and no paid build of the engine in the README

The LICENSE body is a Tencent notice licensing both the ncnn binary and source under BSD-3-Clause, followed by the separate terms of the third-party components it vendors. The repository is public, active and builds the engine itself, with no enterprise or paid tier in the root tree or README.

Adoption

3 low confidence
3.0

An ncnn package exists on PyPI and resolves to this repository, but pypistats publishes no download figure for it, so no package artifact can be declared. GitHub stars are the only signal left, and they cap the reading because a star is not a use.

Capability

3 medium confidence
3.0

ncnn sits two tiers below vLLM. Its platform reach is wide, but vLLM is judged on LLM-serving features, batching, paged attention, parallelism and an OpenAI-compatible surface, none of which ncnn provides, which keeps it with the other narrow-purpose runtimes rather than with ONNX Runtime one tier up.

Verified 2026-09-27