aicoolies logo
NCNN logo
NCNN logo

NCNN

High-performance mobile neural network inference

open sourceverified Aug 24, 2026

NCNN is Tencent's high-performance neural network inference framework optimized for mobile and embedded platforms. It features pure C++ with zero dependencies, ARM NEON assembly optimization, Vulkan GPU acceleration, and sophisticated memory management for minimal footprint. Supports importing models from PyTorch, ONNX, Caffe, TensorFlow, and Keras with 8-bit quantization and half-precision storage for efficient on-device deployment across Android, iOS, and Linux.

NCNN is Tencent's production-grade neural network inference framework designed from the ground up for mobile and embedded devices. Unlike frameworks that adapt desktop implementations for mobile, NCNN was built with mobile constraints as first-class requirements: zero external dependencies, minimal binary size, and hand-tuned ARM NEON assembly for maximum throughput on the processors that power smartphones and edge devices. It runs inside over 30 Tencent applications including WeChat, QQ, and Taobao.

The framework supports model import from all major training frameworks through its PNNX converter, which can translate PyTorch models directly without going through the often-unreliable ONNX intermediate step. It handles quantized 8-bit integer and half-precision floating-point inference for reduced model size and faster execution, and provides Vulkan-based GPU acceleration that works across Android, iOS, and desktop platforms. The extensive operator coverage supports CNN, RNN, Transformer, and detection architectures commonly used in mobile AI features.

NCNN's ARM big.LITTLE aware scheduling automatically distributes workloads across performance and efficiency CPU cores for optimal power consumption, a critical concern for battery-powered devices. The framework's memory management is designed for environments with limited RAM, reusing buffers and minimizing allocations during inference. With over 22,000 GitHub stars and active maintenance from Tencent's engineering team, NCNN remains one of the most mature and widely deployed options for developers shipping on-device AI features on mobile platforms.

Pricing

100% free and open source under the BSD-3-Clause license ($0 software cost). Tencent ncnn is a high-performance neural network inference framework optimized for mobile ARM CPUs and Vulkan GPUs with zero licensing fees.

full pricing breakdown →

Platforms

Android, iOS, Linux, Windows, macOS

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

Cilium logo

Cilium

eBPF-based networking, security, and observability for Kubernetes

Cilium is a CNCF Graduated, Apache-2.0 project for Kubernetes networking, security, and observability using eBPF. It can replace kube-proxy, enforce identity-aware L3-L7 network policies, and add Hubble flow observability plus Tetragon runtime-security signals. Current source checks support GKE Dataplane V2 using Cilium/eBPF and Azure CNI Powered by Cilium for AKS.

Open Source
OrbStack logo

OrbStack

Fast and lightweight Docker Desktop alternative for macOS

OrbStack is a macOS application that replaces Docker Desktop with lightweight container and Linux VM management. Its docs emphasize fast starts, lower CPU and memory overhead, and native macOS integration with menu bar controls, file sharing, and network access to containers by name, with exact gains depending on workload. Supports Docker, Kubernetes, and full Linux VMs.

freemium
Ray logo

Ray

Distributed AI compute engine for scaling Python and ML workloads

Ray is an open-source distributed computing framework built for scaling AI and Python applications from a laptop to thousands of GPUs. It provides libraries for distributed training, hyperparameter tuning, model serving, reinforcement learning, and data processing under a single unified API. Ray's public site highlights OpenAI and other enterprise users. Maintained by Anyscale with Apache-2.0 open-source licensing.

freemiumOpen Source
LLaMA Factory project logo

LLaMA-Factory

Unified framework for fine-tuning 100+ large language models

LLaMA-Factory is an open-source toolkit providing a unified interface for fine-tuning over 100 LLMs and vision-language models. It supports SFT, RLHF with PPO and DPO, LoRA and QLoRA for memory-efficient training, and continuous pre-training. The LLaMA Board web UI enables no-code configuration, while CLI and YAML workflows serve advanced users. Integrates with Hugging Face, ModelScope, vLLM, and SGLang for model deployment.

Open Source
Act logo

Act

Run GitHub Actions locally for fast feedback

Act is an open-source tool that runs GitHub Actions workflows locally using Docker containers that match GitHub's execution environment. It provides instant feedback on workflow changes without pushing to a repository, supports matrix builds, secret management, and artifact handling. Act can also replace Makefiles by using workflow files as task definitions, making it useful for both CI/CD development and local task automation across development teams.

Open Source
Clerk logo

Clerk

Drop-in authentication for modern JavaScript apps

Clerk is a complete authentication and user management platform for React, Next.js, and modern JavaScript frameworks. It provides pre-built UI for sign-in, sign-up, user profiles, organizations, MFA, passkeys, JWT sessions, webhooks, and billing. The Hobby plan supports up to 50,000 monthly retained users per app, with Pro, Business, and Enterprise tiers for growing teams.

freemium

FAQ

What is NCNN?

NCNN is Tencent's high-performance neural network inference framework optimized for mobile and embedded platforms. It features pure C++ with zero dependencies, ARM NEON assembly optimization, Vulkan GPU acceleration, and sophisticated memory management for minimal footprint. Supports importing models from PyTorch, ONNX, Caffe, TensorFlow, and Keras with 8-bit quantization and half-precision storage for efficient on-device deployment across Android, iOS, and Linux.

Is NCNN free?

Yes — NCNN is open source and free to use. 100% free and open source under the BSD-3-Clause license ($0 software cost). Tencent ncnn is a high-performance neural network inference framework optimized for mobile ARM CPUs and Vulkan GPUs with zero licensing fees.

Is NCNN open source?

Yes — NCNN is open source.

Is NCNN still maintained?

Yes — NCNN is active. Its listing was last verified on August 24, 2026.

What are the best NCNN alternatives?

The top editor-verified NCNN alternatives are OpenVINO, RunAnywhere SDK.