Back to directory

ncnn

A high-performance neural network inference framework optimized for mobile, embedded and desktop deployment, with no third-party runtime dependencies and both CPU and Vulkan GPU backends.

ncnn

ncnn is a neural network inference framework optimized for mobile, embedded and desktop deployment. It has no third-party runtime dependencies, runs across CPU and Vulkan GPU backends, and includes a tool, pnnx, for converting PyTorch and ONNX models to its own format so they can be deployed on phones, PCs, browsers and edge devices.

The recommended path for a new model is PyTorch, converted through pnnx, into ncnn's own param and bin files, which can then be loaded and run through either a C++ API or a Python API. It is used in several of Tencent's own applications, including QQ, Qzone and WeChat.

It is written in C++, builds for platforms including Linux, Windows, macOS, Android, iOS, HarmonyOS and WebAssembly, and is distributed on GitHub Releases.

More in Inference

See all 770
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • Lifeboat

    iterate.ai

    A local inference server that puts an OpenAI- and Anthropic-compatible API in front of open-weight language models running on hardware you control, from a laptop to a GPU cluster.

  • Claude S40

    github.com

    An unofficial Claude chat client for 2007-era Nokia Series 40 phones, built as a Java ME app plus a small Go relay server, with web search, reading mode and saved chats.