Skip to main content

bugfix

MNN 各类正确性/回归 bug 的排查方法论集合。按 bug 分类组织:当前覆盖 (1) 内存别名/生命周期错误(buffer aliasing、arena reuse、`MemChunk` / tensor buffer 生命周期)、(2) 量化误差/导出侧权重损坏(低 bit 打包、导出分块、PyTorch MPS/CUDA 大张量静默错误)、(3) 持久化缓存误信(weight-mmap sync 标记自我污染、陈旧/跨模型缓存复用)、(4) 数值精度/fp16 表示能力不足(长序列复读、position 塌缩、以及「实时计算→预计算查表」重构的三类陷阱),后续会补充并发竞争、图优化回归、Codegen/Shader 错等类别。

Jump to install

Source facts

Repository
alibaba/MNN
Last source activity
August 11, 2026 at 11:00
Detected SKILL.md language
Chinese
Stars
15,963
Forks
2,416

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.