CANN/cannbot-skills NPU图DFX分诊评估

📅 2026/6/20 23:42:29
CANN/cannbot-skills NPU图DFX分诊评估
【免费下载链接】cannbot-skillsCANNBot 是面向 CANN 开发的用于提升开发效率的系列智能体本仓库为其提供可复用的 Skills 模块。项目地址: https://gitcode.com/cann/cannbot-skillsskill_name: torch-npugraph-ex-dfx-triage eval_mode: textCase 1: DFX 问题分诊入口流程ConfigMax Tokens: 180000Max Tokens (deepseek-v4-flash): 210000Max Tokens (glm-5): 195000Ascend Platform: A2Prompt我的模型在用 npugraph_ex 编译时出了问题不知道是编译错误还是运行时错误。torch-npugraph-ex-dfx-triage 能帮我做什么Expected Output回复应说明 dfx-triage 是 npugraph_ex DFX 问题的统一入口通过 5 步分层日志采集工作流收集信息然后路由到对应的子 skillcompile-error/runtime-error/accuracy/performance。它本身不做最终诊断结论而是负责分诊和路由。Expectations[contains] 路由Case 2: 5 步分层采集工作流ConfigMax Tokens: 180000Max Tokens (deepseek-v4-flash): 210000Max Tokens (glm-5): 195000Ascend Platform: A2Prompttorch-npugraph-ex-dfx-triage 的 5 步分层采集工作流是什么每一步的作用是什么Expected Output回复应说明 5 步工作流pure eager → backendeager → backendaot_eager → backendnpugraph_ex with force_eagerTrue → 完整 backendnpugraph_ex。每一步逐步增加编译层在首次出错的步骤定位问题然后路由到对应的子 skill。Expectations[contains] eager[contains] aot_eagerCase 3: 问题路由机制ConfigMax Tokens: 150000Max Tokens (deepseek-v4-flash): 180000Max Tokens (glm-5): 165000Ascend Platform: A2Prompttorch-npugraph-ex-dfx-triage 采集完信息后如何判断应该路由到哪个子 skillExpected Output回复应说明基于哪一步首次失败来路由编译期失败路由到 compile-error-diagnosis、运行时失败路由到 runtime-error-diagnosis、精度问题路由到对应的精度子 skill、性能问题路由到 performance-diagnosis。应说明 dfx-triage 收集完整信息后不自己下结论。Expectations[contains] compile-error[contains] runtime-errorCase 4: 正向看护-多 graph skill 环境下正确触发ConfigMax Tokens: 180000Max Tokens (deepseek-v4-flash): 210000Max Tokens (glm-5): 195000Distractor skills: torch-npugraph-ex-compile-error-diagnosis;torch-npugraph-ex-runtime-error-diagnosis;torch-npugraph-ex-knowledge;torch-npugraph-ex-performance-diagnosisAscend Platform: A2Prompt我的模型在用 torch.compile npugraph_ex 时报错了我不确定是什么类型的问题。帮我排查一下。Expected Output回复应激活 torch-npugraph-ex-dfx-triage skill说明将通过 5 步分层采集来定位问题并路由到正确的子 skill。即使在多个 npugraph_ex 诊断 skill 共存的环境下也应正确激活 dfx-triage 作为统一入口。Expectations[skill_activated] torch-npugraph-ex-dfx-triage【免费下载链接】cannbot-skillsCANNBot 是面向 CANN 开发的用于提升开发效率的系列智能体本仓库为其提供可复用的 Skills 模块。项目地址: https://gitcode.com/cann/cannbot-skills创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考