已合并
feat(ops/ops-profiling): 新增 msopprof-visualization 子技能 #718
feat(ops/ops-profiling): 新增 msopprof-visualization 子技能 #718
已合并
逋客创建于 17 天前
逋客
逋客
17 天前

描述

【ops-profiling】新增子技能 ascendc-msopprof-visualization:将上板采集的算子性能数据(msOpProf)渲染为交互式 HTML 性能报告,包含 Details、Roofline、Timeline、Cache、Source、片上内存、Warp Stall、指令时间线、Raw Data 页面。

改动原因:现有 ops-profiling 链路输出 CSV + markdown,缺少交互式可视化能力;本子技能作为 profiling 的补充,与现有 bash 采集链双路并行、互不替代(加速比对比 / 批量 / MC² 场景仍走 msprof_profile_run.sh)。

  • 最小非重复采集:BasicInfo 预检、replay 语义去重、进程组隔离与熔断保护、已完成采集安全复用
  • 基于已有采集目录(collection_manifest.json)可直接重渲染,不重复上板
  • 主 SKILL.md 增加可视化路由:仅当用户提到可视化且存在上板数据时加载本子技能
  • evals 追加 2 个路由用例(正向可视化路由、负向对比测试不路由)

关联的Issue

#473

测试

  • scripts/self_check.py 静态结构检查 + 真实采集数据集成测试全部通过(9 页面渲染、不可用模块诊断页、JS 语法、性能门禁 3.3s / 256MiB)
  • 仓库 tests/run-tests.sh 的 unit/skills/test-structure.sh 与 unit/skills/test-content.sh 通过
  • 浏览器冒烟(jsdom):78 项检查通过,无 JS 错误

文档更新

  • ops/ops-profiling/SKILL.md(新增可视化路由章节)
  • 新增 ops/ops-profiling/ascendc-msopprof-visualization/SKILL.md 及 references/ 5 篇参考文档

类型标签

  • 🌟 新特性
likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 逋客 的贡献)
逋客逋客
17 天前 创建了 pull request,commit 6b286ec4
atomgit-bot
atomgit-bot
17 天前 评论:

🤖 正在生成合并请求摘要,请稍候…

likedislike
atomgit-bot
atomgit-bot
17 天前 评论:

🤖 AI 代码检视正在进行中,请稍候…

likedislike
CANN-robotCANN-robot成员
17 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
17 天前 评论:

CLA Signature Pass

buke0719, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
此处折叠了165条消息 查看更多
CANN-robotCANN-robot成员
10 天前 添加了label:lgtm
CANN-robotCANN-robot成员
10 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
10 天前 添加了label:ci-pipeline-passed
CANN-robotCANN-robot成员
10 天前 关闭了关联的issue
CANN-robotCANN-robot成员
10 天前 合入了pull request