GraphCanon updated 2w · GitHub synced 2w
Decision brief
ncnn is a high-performance framework for deep learning inference on mobile platforms written in C++, supporting conversion from multiple DL frameworks via pnnx.
Good fit when
- For users requiring fast inference speeds optimized for mobile devices such as Android and iOS.
- When integration with existing C++ or Python codebases is necessary without the need for a bulky runtime environment.
Avoid when
- If working in an environment where GPU acceleration on desktop or server is more beneficial than CPU efficiency.
- For tasks that demand extensive training within the framework itself, as ncnn focuses on inference rather than training capabilities.
- Pricing:
- unknown
- Requirements:
- Requires pnnx for exporting PyTorch models to ncnn.
Observed Jul 17, 2026 · Source: enrich:decision_facts
Verify the decision
Maintenance and security
Full trust report- Maintenance
- Very active (0d since push)
- As of 2w
- Provenance
- Not a fork · Organization account
- As of 2w
- Security (OSV)
- No lockfile
- As of 1mo
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
git clone https://github.com/Tencent/ncnnSimilar tools
Same-category neighbours. No typed graph edges are catalogued for this tool yet.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
ncnn is developed primarily in C++ and supports multiple deep learning frameworks conversion including PyTorch, ONNX, Keras, MXNet, TensorFlow, Darknet, and Caffe. It provides a means to export models from these frameworks into ncnn's format through pnnx and offers an easy integration path with C++ or Python for performing inference.
Capability facts
- Languages
- c++, python
Source: github.language+pyproject.toml · Aug 4, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Tags
README
Quick Start
The recommended beginner path is PyTorch -> pnnx -> ncnn.
|
Install pnnx in a PyTorch environment
Export a PyTorch model to ncnn
This generates |
Run with ncnn C++ API
Or use Python
|
See pnnx, use ncnn with PyTorch or ONNX, Python API, and examples for complete workflows.
For agents
This page has a .md twin and JSON over the API.