aicoolies logo
NCNN logo
NCNN logo

NCNN

High-performance mobile neural network inference

open-sourceopen sourceupdated Jun 8, 2026
Visit Website →
Share

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

Free and open source under BSD license

Platforms

Android, iOS, Linux, Windows, macOS

Categories

Tags

Use Cases

Alternatives

Related Tools

MCP Context Forge logo

MCP Context Forge

IBM-backed ContextForge gateway for federating MCP, A2A, REST, and gRPC APIs

MCP Context Forge is IBM’s Apache-2.0 ContextForge project for operating a gateway, registry, and proxy across MCP servers, A2A agents, REST APIs, and gRPC services. It centralizes discovery, authentication, policy controls, federation, and observability, with deployment paths through PyPI, Docker, and Kubernetes.

open-sourceOpen Source

Presidio

Open-source PII detection and anonymization for AI data flows

Presidio is an MIT-licensed privacy framework for identifying and anonymizing personally identifiable information in text, images, and structured data. It can act as a de-identification layer around LLM prompts, logs, RAG corpora, and customer-data workflows.

open-sourceOpen Source
Mergify logo

Mergify

Merge queue, CI insights, flaky-test controls, and stacked pull requests for GitHub teams

Mergify is a pull request automation platform that keeps main branches green with merge queue batching, merge protections, CI Insights, flaky-test detection, and stacked pull requests. Its Stacks workflow turns commits on one local branch into focused PR chains, helping teams review large AI-generated or feature-heavy changes without losing queue safety.

freemium
Terrateam logo

Terrateam

Open-source GitOps automation for Terraform and OpenTofu pull requests

Terrateam is open-source GitOps infrastructure orchestration for Terraform and OpenTofu pull requests. It automates plans and applies in GitHub workflows, supports monorepos and many workspaces, and adds apply-only locks, OPA/Rego policy checks, cost and drift signals, and approval controls without forcing teams into a separate IaC platform.

freemiumOpen Source
Digger logo

Digger

Open-source IaC orchestration that runs Terraform plans and applies from pull request comments

Digger is an open-source infrastructure-as-code orchestration tool for running Terraform and OpenTofu plan/apply workflows from pull request comments. It uses the team’s existing VCS and CI runners instead of adding a separate runner fleet, supports GitHub, GitLab, and Azure DevOps style workflows, and stores PR-level locks and plan cache in the user’s cloud account.

open-sourceOpen SourceTelemetry
ElevenLabs logo

ElevenLabs

Lifelike AI voice generation, cloning, and voice agents

ElevenLabs is an AI voice platform for text-to-speech, voice cloning, and conversational AI agents, built on models like Multilingual v2 and the low-latency Flash v2.5 and Turbo v2.5. Developers call its API to generate lifelike narration, clone voices from short audio samples, dub content across 30+ languages, add sound effects, and deploy real-time voice agents for customer service, IVR, and interactive apps, with SDKs for Python, JavaScript, and more.

freemium