# ncnn

> Tencent's neural network inference framework for phones, embedded devices and desktops.

Source: https://talira.ai/catalog/ncnn-by0k0dce
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [ai / inference / engines](https://talira.ai/categories/ai/inference/engines)
- Platforms: android, ios, linux, windows, macos, web[^1]
- Licence: BSD-3-Clause AND Zlib AND BSD-2-Clause[^2]
- Pricing: Free[^1]
- Free tier: yes[^1]
- Supports: [ONNX](https://talira.ai/standards/onnx.md)[^1]
- Backed by: [Tencent](https://talira.ai/orgs/tencent.md)

ncnn is Tencent's high-performance neural network inference framework, optimised for mobile, embedded and desktop deployment. It has no third-party runtime dependencies, runs on CPU and Vulkan GPU backends, and provides pnnx for converting PyTorch and ONNX models to ncnn. It builds for Linux, Windows, macOS, Android, iOS, WebAssembly, Raspberry Pi, NVIDIA Jetson and other targets, and Tencent uses it in apps such as QQ and WeChat.

## Links

- GitHub: https://github.com/Tencent/ncnn

## Problems it solves

- run a neural network model on an Android or iOS phone
- deploy a PyTorch model to an embedded board without heavy dependencies
- use the GPU through Vulkan for on-device inference

## Features

- no third-party runtime dependencies
- CPU and Vulkan GPU backends
- pnnx converts PyTorch and ONNX models to ncnn
- builds for Android, iOS, desktop, WebAssembly and embedded boards

## Trust

Overall: 0.74 out of 1.
Signals: maintenance 1.00, adoption 0.88, momentum 0.70, community 1.00, backing 0.30, extensibility 0.00.

- last commit 3 days ago
- 196 commits in the last 90 days
- latest release 20261020 41 days ago
- 24.1k GitHub stars
- 401 contributors
- backed by Tencent

## Alternatives

- [MLC LLM](https://talira.ai/catalog/mlc-llm-92jjm3wq.md): Universal LLM deployment engine that compiles models to run natively on GPUs, phones and browsers
- [TensorRT](https://talira.ai/catalog/tensorrt-78nt8zz0.md): NVIDIA's SDK for high-performance deep learning inference on NVIDIA GPUs
- [MNN](https://talira.ai/catalog/mnn-mpm7mxr8.md): Alibaba's lightweight on-device inference engine for deep learning and LLMs

## Sources

[^1]: https://github.com/Tencent/ncnn/blob/master/README.md (checked 29 Nov 2026)
[^2]: https://github.com/Tencent/ncnn/blob/master/LICENSE.txt (checked 29 Nov 2026)
