ascendc-operator-precision-debug

Official

Root-cause AscendC operator precision issues fast.

AuthorAscend
Version1.0.0
Installs0

System Documentation

What problem does it solve?

AscendC 算子精度调试帮助定位算子精度问题的根因。当算子精度测试失败(如 allclose 不通过、结果偏差、输出全零/NaN 等)时,提供从误差分布分析到代码审查、实验隔离、插桩定位再到修复验证的五阶段工作流。

Core Features & Use Cases

  • Structured five-phase debugging workflow: 系统化定位根因,减少重复排查。
  • 代码审查与定位要点:提供对算子主机/内核实现、 tiling、偏移等常见问题的检查清单。
  • 实验隔离与插桩指导:逐步更改变量、加入 PipeBarrier、DumpTensor 等手段,确保可重复定位。
  • 验证与回归:在修复后进行对比验证,确保误差消失且结果稳定。

Quick Start

Provide a failed test case details to trigger the five-phase plan, then instruct the AI to output a concrete root-cause plan and suggested fixes.

Dependency Matrix

Required Modules

torchtorch_npuascend_kernel

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ascendc-operator-precision-debug
Download link: https://github.com/Ascend/agent-skills/archive/main.zip#ascendc-operator-precision-debug

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.