@DanKornas: Need to run a neural network on-device without adding a stack of runtime dependencies? ncnn is a neural network inferen…
Summary
ncnn is a lightweight, open-source neural network inference framework for deploying PyTorch and ONNX models to mobile, embedded, and desktop targets without heavy dependencies, supporting CPU and Vulkan GPU backends.
View Cached Full Text
Cached at: 07/27/26, 07:56 PM
Need to run a neural network on-device without adding a stack of runtime dependencies?
ncnn is a neural network inference framework for AI/ML engineers deploying models to mobile, embedded, and desktop targets.
It helps you move PyTorch and ONNX models onto devices by converting them with pnnx, then running inference through CPU or Vulkan GPU backends.
Key features: • Model conversion – pnnx converts PyTorch and ONNX models into ncnn format. • Lean runtime – no third-party runtime dependencies or BLAS/NNPACK requirement. • CPU execution – supports ARM NEON optimizations and multi-core scheduling. • GPU acceleration – provides a Vulkan backend on supported platforms. • Deployment options – offers a C++ core, C API, Python binding, examples, and build guides for mobile, desktop, browser, and edge targets.
It’s open-source (BSD 3-Clause license; bundled third-party components retain their own licenses).
Link in the reply
Similar Articles
Vendor-agnostic ML inference on production edge devices [R]
Describes using ncnn's Vulkan backend for vendor-agnostic ML inference on production edge devices, achieving 10x speedup over CPU ONNX for face detection and embedding models.
@DanKornas: Need to inspect a model file before wiring it into your stack? Netron is a visualizer for neural network, deep learning…
Netron is an open-source visualizer for neural network, deep learning, and machine learning model files, supporting formats like ONNX, PyTorch, TensorFlow, and more via browser, desktop, or Python.
@cpaik: Open-source Many model Inference on device
An open-source tool for running multiple AI model inferences on local devices, enhancing on-device AI deployment efficiency.
@yoheinakajima: local models on your mac, streaming to your phone
RunAnywhere enables users to run AI models on a Mac and stream inference to an iPhone over the local network with one-click setup, avoiding cloud dependency for low latency.
Nativ: Run AI models locally on your Mac
Nativ is a new macOS desktop app that wraps MLX to run AI models locally, offering a chat interface and API server.