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 ↓Open shareable report

Summary Information

Updated 42 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,042 (+1)
Total Subscribers: 243 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 18.5 hours
Mean response time: 7.6 days
90th percentile: 15.1 days
Tracked items: 988

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "platform:android" is answered fastest, typically in about 16 hours, while "module:converter" waits about 4 days. Only 12% of issues opened in the past year have been closed. Three people close 69% of everything that gets resolved.

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.