alibaba/mnn

MNN: A blazing-fast, lightweight inference engine battle-tested by Alibaba, powering high-performance on-device LLMs and Edge AI.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 35 minutes ago
Added to GitGenius on September 3rd, 2026
Created on April 15th, 2019
Open Issues & Pull Requests: 49 (+0)
GitHub issues: Enabled
Number of forks: 2,434
Total Stargazers: 16,041 (+0)
Total Subscribers: 243 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 28
New in 7 days: 4
Closed in 7 days: 1
Avg open age: 15 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 4
Closed in 7 days: 1
Comments in 7 days: 3
Events in 7 days: 6

Top labels

  • type:bug (134)
  • module:llm (109)
  • app:transformer (66)
  • platform:android (56)
  • status:needs-info (50)
  • type:question (41)
  • type:feature (39)
  • module:converter (24)

Detailed Description

MNN is a lightweight neural network inference engine designed for on-device machine learning and edge AI applications.

MNN addresses the challenge of running machine learning models efficiently on resource-constrained devices by providing a compact inference runtime optimized for mobile and embedded platforms. The engine supports multiple hardware backends including ARM processors, Vulkan for GPU acceleration, and Qualcomm Hexagon DSPs, allowing models to leverage available hardware capabilities. It implements specialized optimizations such as the Winograd algorithm for convolution operations to reduce computational overhead while maintaining inference speed.

The tool suits developers building on-device AI applications where model size and latency matter—particularly for mobile apps, embedded systems, and edge devices where cloud inference is impractical. It has demonstrated capability with large language models and transformer architectures, making it relevant for projects requiring local LLM inference. The project includes reference implementations and sample applications for Android and iOS platforms, providing practical starting points for integration.

Development activity shows sustained engineering effort with regular releases introducing new backend support and model compatibility. The maintainers actively expand hardware acceleration options, as evidenced by recent additions of specialized DSP backends. The project maintains comprehensive documentation and provides multilingual README resources. Community engagement appears active through documented support channels and ongoing feature development tied to emerging model architectures and device capabilities.