hc-skadi/ascendc/ascendc-runtime-debug

Claude Code and agent skill by hc-skadi/ascendc

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Ascend C 算子运行时错误调试技能。用于处理算子运行时问题:(1) aclnn 返回错误码(161xxx/361xxx/561xxx,包括环境配置、Tiling、Kernel 查找等错误),(2) 需要解析 plog 日志定位问题。触发关键词:运行时错误、错误码、Tiling错误、Kernel查找失败、环境变量、plog。

Install

npx vskill@latest install hc-skadi/ascendc/ascendc-runtime-debug

SKILL.md

The same SKILL.md was published earlier as mcgatom/codex-cannbot/ascendc-runtime-debug.

Ascend C 算子运行时错误调试

系统化调试 Ascend C 算子运行时错误,包括错误码处理、环境检查。

快速诊断

运行时错误
│
├─ 返回码非0?
│ ├─ 161xxx → 参数错误 → 见高频错误速查
│ ├─ 361xxx → Runtime错误 → 见 debug_workflow.md
│ ├─ 507035 → 向量核异常 → 见 debug_workflow.md#507035-向量核异常
│ └─ 561xxx → 内部错误 → 见高频错误速查 / debug_workflow.md
│
└─ 复杂场景 → 开启日志调试

高频错误速查

错误码类型排查方向详细方案
507035向量核异常检查 DataCopyPad 32B对齐 / UB溢出debug_workflow.md
161xxx参数错误检查 dtype/shape/nullptrdebug_workflow.md
561002Tiling错误检查 TilingKey/TilingFuncdebug_workflow.md
561003Kernel未找到检查算子安装/环境配置debug_workflow.md

更多错误码见 error_codes.md

未知错误码处理

遇到速查表中未列出的错误码时,见 debug_workflow.md

调试工具速查

工具用途使用
aclGetRecentErrMsg()获取错误详情返回码非0时调用
环境检查ascendc-env-check skill见 skill:ascendc-env-check
parse_plog.py日志解析python3 scripts/parse_plog.py [plog_file]
ASCEND_SLOG_PRINT_TO_STDOUT=1日志打屏实时查看日志

详细调试方法见 debug_workflow.md

详细资源

  • [debug_workflow.md](references/debug_workflow.md):详细调试流程(错误码处理、环境检查)
  • [kernel_binary_debug.md](references/kernel_binary_debug.md):Kernel 二进制构建调试(编译缓存、SEL匹配、多版本冲突、opParaSize)
  • [error_codes.md](references/error_codes.md):完整错误码表(基本状态码、内部异常状态码)
  • [ascendc-env-check skill](skill:ascendc-env-check):环境变量配置指南

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hc-skadi/ascendc/ascendc-runtime-debug/badge)](https://verified-skill.com/skills/hc-skadi/ascendc/ascendc-runtime-debug)

Something wrong with this skill or its page? Tell us.