cluster-fast-slow-rank-detector

Classify slow cards and root causes in Ascend cluster profiling data.

7|3|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/kali20gakki/mindstudio-skills --skill cluster-fast-slow-rank-detector
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cluster-fast-slow-rank-detector
Source: https://github.com/kali20gakki/mindstudio-skills/tree/main/cluster-fast-slow-rank-detector
Command: npx skills add https://github.com/kali20gakki/mindstudio-skills --skill cluster-fast-slow-rank-detector

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, and includes scripts (resource) components.

What problem does it solve?

专门用于 Ascend 集群 Profiling 数据中的快慢卡诊断。它能自动接收集群路径,结合 Expert Rules(专家规则)对慢卡进行宏观诊断并下钻到微观根因,输出瓶颈类别及差异证据。

Core Features & Use Cases

  • 基于专家规则的宏观诊断,自动将慢卡分类为 Host 下发瓶颈、纯计算慢、或通信慢,并通过脚本对比输出差异。
  • 微观证据:调用 scripts/ 下的对比脚本 compare_api_stats.py 与 compare_op_stats.py,对慢卡与快卡的 API/算子耗时进行对比,定位瓶颈点。
  • 场景适用:在多 Rank 的集群 profiling 场景,给出慢卡的 RankID、快卡基准、以及差异前 20 条差异。

Quick Start

在集群数据根目录下,指定慢卡 Rank 与快卡 Rank,运行本 Skill 的对比脚本以生成诊断报告。

Frequently Asked Questions about cluster-fast-slow-rank-detector

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose slow cards in an Ascend cluster profiling dataset?

Diagnosing slow cards in Ascend cluster profiling involves classifying performance bottlenecks into Host delivery, compute, or communication issues using expert rules and scripted comparisons, producing macro conclusions and micro evidence.

How do I compare API and operator statistics between fast and slow ranks?

Comparing API and operator statistics between fast and slow ranks requires executing scripts like compare_api_stats.py and compare_op_stats.py to identify the top 20 timing differences, pinpointing the exact bottleneck points.

What are the common root causes for slow cards in multi-rank profiler data?

Common root causes for slow cards in multi-rank profiler data include Host delivery bottlenecks, pure compute slowness, and communication delays, which are automatically classified by applying expert rules to the profiling data.

Does this slow card diagnosis approach require specific dependencies or environments?

Yes, this slow card diagnosis approach requires the pandas dependency to process the profiling data and mandates executing the scripts within the scripts directory to enforce a deterministic comparison workflow.

What is the best way to identify performance bottlenecks in multi-rank cluster profiling?

The best way to identify performance bottlenecks in multi-rank cluster profiling is applying expert rules to classify slow cards and running comparison scripts to drill down from macro bottlenecks to micro evidence.