External Cannbot Model Model Infer Precision Debug

基于 PyTorch 框架的昇腾 NPU 模型推理精度问题诊断技能。当前主要覆盖 KVCache / FlashAttention 相关精度问题,包括 Prefill/Decode 对齐、cache 更新错误、slot/block mapping 错误、attention 路径切换后的精度异常等。触发场景:优化改造后精度验证未通过、模型输出与基线存在显著偏差、Prefill 和 Decode 精度表现不一致、出现 NaN/Inf、量化模式下精度异常放大等。

ascend-ai-coding 2c48527 2 files · 24.5 KB Updated

File contents

ascend-ai-coding/awesome-ascend-skills/tree/main/external/cannbot/model/model-infer-precision-debug commit 2c485270af

Frequently asked questions

npx skillmds@latest add ascend-ai-coding/external-cannbot-model-model-infer-precision-debug