Tencent's neural network inference framework for phones, embedded devices and desktops.
open sourceBSD-3-Clause AND Zlib AND BSD-2-Clausefree
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.
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
Alternatives
The same job
These do what ncnn does.
