kali20gakki/msAgent / skills/operator/ops-performance-tuning
ops-performance-tuning
VerifiedCompile, profile, diagnose, optimize, and compare Ascend NPU operators across CANN versions and A2/A3/A5 for Ascend C, CATLASS, Triton-Ascend, TileLang-Ascend, PyPTO, and SHMEM/MC2. Use when an operator already has a runnable implementation and the user asks for msOpProf collection, bottleneck analysis, source-level tuning, or a reproducible before/after performance report. Do not use as the primary workflow for operator creation, migration, or unresolved correctness failures.
references/cases/catlass/pr_catlass_baseline.md
View on GitHub# CATLASS 整体性能基线【非 PR:README 官方数据】
## 基本信息
- 算子类别:matmul
- DSL/框架:catlass
- 类型:非PR(官方文档)
- 来源可信度:官方文档(README 官方数据)
## 来源链接
- PR/出处链接:<https://gitcode.com/cann/catlass/blob/master/README.md>( 已验证可达,验证日期 2026-08)
- 优化代码查看:不适用——本案例为官方 README 公布的性能基线数据,非代码 PR,无 diff 可查。
## 问题与瓶颈
原文未附(README 为性能宣称与基线数据,未描述具体问题现象或 profiling 瓶颈)。
## 优化方法(理论手段)
原文未附(README 仅给出性能宣称,未展开优化手段)。
## 性能对比
"在定制 shape 下的性能能达到相应算子标杆性能的 0.98~1.2 倍",附 Matmul(M=512/20480/65536 多组 N/K/TransA/TransB)与 GroupedMatmul(M 轴/K 轴切分)对 aclnn 的比值柱状图,环境 CANN8.2.RC1。
| 指标 | 优化前 | 优化后 | 变化 |
|---|---|---|---|
| 性能比值(对 aclnn 标杆) | 1.0(aclnn 基准) | 0.98~1.2 倍 | 定制 shape 下与标杆持平到小幅领先 |
## 适用范围与警示
- 该比值为"定制 shape 下"的官方宣称数据,环境为 CANN8.2.RC1;非定制 shape 或其他 CANN 版本下不代表同等水平。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |