Token导航 LogoToken导航

Agent Skill · 研究检索

ascend-profiling-anomaly(上升分析异常)

ascend-profiling-anomaly 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ascend-profiling-anomaly 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 43,453。

总安装 984周安装 41GitHub Stars 12下载 328核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ascend-profiling-anomaly(上升分析异常)
来源仓库:https://github.com/ascend/agent-skills
仓库路径:skills/ascend-profiling-anomaly
安装命令:
npx skills add https://github.com/ascend/agent-skills --skill ascend-profiling-anomaly
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ascend/agent-skills --skill ascend-profiling-anomaly

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

ascend-profiling-anomaly 通过结构分解、异常检测与架构分析三管道解析昇腾 NPU 性能数据。可定位耗时分布、识别气泡异常与梳理模型层级结构,辅助性能优化决策。适用于推理或训练场景下的 Profiling 报告深度解读与根因排查。

使用前需准备好 torch_npu.profiler 生成的 timeline 数据文件。建议结合具体算子类型选择对应分析路径,提升诊断效率。

来源仓库内路径:skills/ascend-profiling-anomaly

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ascend/agent-skills --skill ascend-profiling-a…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ascend-profiling-anomaly 怎么安装?

在终端执行 npx skills add https://github.com/ascend/agent-skills --skill ascend-profiling-anomaly。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ascend-profiling-anomaly 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ascend-profiling-anomaly 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

ascend-profiling-anomaly 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

ascend-profiling-anomaly 用的人多吗?

公开数据是累计安装 984 次,近一周安装 41 次,下载 328 次,GitHub 12 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ascend-profiling-anomaly 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
ascend-profiling-anomaly

上升分析异常 · 本页

98412调用外部服务未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Ascend Profiling Anomaly Discovery Skill

Purpose

Analyze Ascend NPU profiling data through three parallel pipelines:

  1. Structure breakdown: step → structure (layer) → block / side → op → PMU judgement — answers *where the time goes*.
  2. Anomaly discovery: step → device busy union → bubble detection → anomaly tags → soft attribution — answers *what looks unnatural and where hidden issues may lurk*.
  3. Model architecture analysis: FIA timeline → pass boundaries → layer classification → per-layer sub-structure → communication pipeline → architecture summary — answers *what is this model and how does each component execute*. Produces a separate Markdown report file.

The core philosophy is separation of concerns: "anomaly exists" is a hard fact derived from device intervals; "why it exists" is a soft attribution that may require additional evidence. Even under weak profiling configurations (no stacks, no shapes, sparse host events), the skill must still reliably surface device idle bubbles and risk labels.

Reference Files — When to Read

Read these before starting analysis:

FileWhen to readWhat it contains
references/kernel_data_guide.mdAlways — read firstRaw data column schemas for kernel_details.csv, op_summary, trace_view.json; the step → structure → block/side → op hierarchy; how to parse, filter, assign kernels at each level; multi-stream handling; per-level timing aggregation
references/rulebook.mdAlwaysAnomaly thresholds, tagging rules, decision tables, soft attribution rules, AICPU classification, wait-anchor rules
references/architecture_report_template.mdAlways — read before producing the architecture reportFull template for the standalone Markdown architecture report: required sections, formatting rules, analysis techniques for layer classification, communication overlap measurement, per-layer timing breakdowns
references/schema.jsonWhen producing structured JSON outputFull JSON schema for the anomaly_discovery output object
scripts/reference_host_gap_branch.pyWhen writing analysis scriptsReference Python implementation for interval merging, bubble metrics, soft attribution, wait-anchor scoring

Pipeline Overview

The full state machine:

INGEST → INVENTORY → FACT_EXTRACTION → CANDIDATE_STEP_DETECTION →
STEP_GROUPING → MACRO_STEP_RESOLUTION → SEGMENTATION →
CLOCK_ACCOUNTING → ANOMALY_DISCOVERY → PERF_JUDGEMENT →
RECOMMENDATION → RENDER → DONE
                                        ↘
                          ARCHITECTURE_ANALYSIS → ARCH_REPORT_RENDER → ARCH_REPORT_SAVE

ANOMALY_DISCOVERY sits after CLOCK_ACCOUNTING and before PERF_JUDGEMENT. It receives already-segmented steps and structures, and runs the bubble detection pipeline on top of them.

ARCHITECTURE_ANALYSIS runs in parallel with PERF_JUDGEMENT, using the same segmented data from CLOCK_ACCOUNTING plus FIA timeline analysis. It produces a separate Markdown report file saved alongside the profiling data.


Data Hierarchy: Step → Structure → Block/Side → Op

Understanding how raw kernel data maps to each level is essential. Read references/kernel_data_guide.md for the full column schemas and parsing details. Here is the conceptual overview:

Level 0: Raw Kernels

Each row in kernel_details.csv represents a single device kernel execution — one invocation of an AI Core task, an AI CPU task, or an HCCL communication task. Key fields: Name, Task Type, Start Time(us), Duration(us), Wait Time(us), Accelerator Core, Stream ID, Input Shapes, Output Shapes.

Level 1: Step

A step is one training/inference iteration. Steps are identified by ProfilerStep#N user annotations or Iteration#N markers in trace_view.json. Each step defines a service window [S_i, S_{i+1}). All kernels whose start time falls within this window belong to step i.

At step level, compute:

  • Total service time, device busy union, underfeed ratio
  • Prelaunch gap, tail gap, internal bubbles
  • Per-step anomaly tags and soft root-cause labels

Level 2: Structure (Layer)

Within a step, kernels form repeating structures — typically corresponding to model layers (e.g., transformer blocks, attention layers, MLP blocks). Segmentation identifies these by:

  1. Repeating name-pattern sequences in the kernel timeline
  2. Significant time gaps between kernel groups
  3. User annotations marking layer boundaries (if present)

Each structure contains a contiguous span of kernels within the step window.

At structure level, compute:

  • Structure wall time, device busy union within structure span
  • Structure share of total step time
  • Per-structure bubble metrics (is the bubble inside this structure or between structures?)

Level 3: Block / Side

Within each structure, kernels split into:

  • Block (main compute path): The dominant chain of AI Core kernels forming the forward or backward pass of this layer. These execute on the main compute stream.
  • Side (auxiliary ops): Everything else — small element-wise ops, communication (HCCL), AI CPU fallback ops, memory copies, synchronization events. These may execute on separate streams.

At block/side level, maintain four timing perspectives simultaneously:

  • wall_ms — wall-clock time from first kernel start to last kernel end
  • busy_union_ms — merged device-busy time (accounts for multi-stream overlap)
  • kernel_sum_ms — arithmetic sum of all kernel durations (ignores overlap)
  • total_cost_ms — sum of duration + wait for all kernels

Conclusions based on only one metric are incomplete. A block appearing heavy in kernel_sum but light in wall means high stream parallelism. A side appearing heavy in total_cost but light in duration means wait-anchor false hotspot risk.

Level 4: Op (individual operator)

The finest grain. Each op may produce one or many device kernels. Op-level analysis handles:

  • Top ops by total cost vs. top ops by kernel duration (these rankings often differ)
  • Wait-anchor detection: ops with wait_ratio > 0.95 and tiny duration but high total_cost
  • AICPU classification: ops running on AI CPU instead of AI Core, classified by masked_ratio
  • Small-op initial judgement: whether small individual ops are real inefficiencies or noise

Anomaly Discovery Pipeline (Detail)

Phase 1: BUILD_DEVICE_INTERVALS

For each step, collect all device kernel intervals from kernel_details.csv:

device_intervals = []
for each kernel row where Start_Time_us is within step window:
    s = max(step_start_us, row.Start_Time_us)
    e = min(step_end_us, row.Start_Time_us + row.Duration_us)
    if e > s:
        device_intervals.append(Interval(s, e))

Key rules:

  • Clip kernel intervals to the step window boundary
  • Apply communication dedup rules BEFORE interval statistics (see references/kernel_data_guide.md section on comm dedup)
  • Include AI_CORE, AI_CPU, and HCCL tasks — all count as "device busy"
  • When multiple streams exist, intervals from all streams are collected into the same set

Phase 2: MERGE_INTERVALS

Sort intervals by start time, merge overlapping ones:

merged = merge(device_intervals)  # see scripts/reference_host_gap_branch.py
busy_union = sum of merged segment durations

This produces the merged busy segments from which all bubble metrics derive.

Phase 3: GAP_CLASSIFICATION

From the merged segments, compute per-step metrics:

  • service_ms = step window duration
  • device_busy_union_ms = sum of merged segment durations
  • underfeed_ms = service − busy_union
  • underfeed_ratio = underfeed / service
  • prelaunch_gap_ms = start(first_merged_segment) − step_start
  • tail_gap_ms = step_end − end(last_merged_segment)
  • internal_bubble_total_ms = sum of gaps between consecutive merged segments
  • largest_internal_bubble_ms = max gap between consecutive merged segments
  • bubble_count = number of inter-segment gaps

Phase 4: HOST_EVIDENCE_COLLECTION

For each bubble window (gap between merged segments, or prelaunch/tail gap), scan the same time range in host events from trace_view.json:

Host event categories to collect:

  • cpu_op / python_function / user_annotation — general host activity
  • AscendCL@* — ACL runtime events
  • HostToDevice / torch_to_npu / aclrtMemcpy* / aclrtSynchronize* — sync/copy markers
  • c10d / Hccl / hcom / StreamWaitEvent / Notify_Wait — communication markers

Compute overlap ratios:

  • host_visible_coverage_ratio = fraction of bubble covered by any host event
  • sync_marker_overlap_ratio = fraction covered by sync/copy markers
  • comm_marker_overlap_ratio = fraction covered by communication markers

Phase 5: SOFT_ATTRIBUTION

For each significant bubble, assign probability-level labels based on overlap ratios:

ConditionLabel
sync_overlap ≥ 0.20possible_sync_or_h2d
comm_overlap ≥ 0.20possible_comm_wait
host_coverage < 0.05possible_untraced_host_blocking
host_coverage ≥ 0.10 but no sync/comm dominancepossible_host_launch_lag
host_parallelism < 1.2 and none of abovepossible_python_serialization_or_lock
nothing appliesinsufficient_evidence

Multiple labels can co-exist. These are explicitly NOT unique root causes.

Phase 6: ANOMALY_TAGGING

Apply the anomaly tags from references/rulebook.md decision tables. Core tags:

Bubble severity: DEVICE_IDLE_GAP_HEAVY, PRELAUNCH_GAP_HEAVY, TAIL_GAP_HEAVY, INTERNAL_BUBBLE_HEAVY

Risk tags: HOST_ORIGINATED_RISK, COMM_SYNC_RISK, WAIT_POLLUTION_RISK, WAIT_ANCHOR_FALSE_HOTSPOT, AICPU_EXPOSED_RISK, UNTRACED_HOST_BLOCKING_RISK, PARTIAL_CAPTURE_BOUNDARY, VARIABLE_SHAPE_SAME_TEMPLATE

Phase 7: WAIT_ANCHOR_SCAN

At op level, scan for false hotspots:

wait_ratio = wait_us / (duration_us + wait_us)
if wait_ratio > 0.95 and duration_us < 10.0 and total_cost_rank <= 10:
    tag WAIT_ANCHOR_FALSE_HOTSPOT

These ops absorb idle wait time and appear expensive, but their kernel execution is negligible. Demote them in root-cause ranking.

Phase 8: GROUP_AGGREGATION

Aggregate step-level metrics by step_group_id:

  • Compute avg, median, P90, P95 for each bubble metric
  • recurring_bubble_pattern = true if ≥60% of steps in group have bubble_count > 0
  • dominant_idle_pattern = whichever of prelaunch/internal_bubble/tail contributes most

Phase 9: PRODUCE_OUTPUT

Merge anomaly results with structure breakdown. The report MUST include:

Hidden Issue Discovery section
  • Dominant step/group bubble metrics (service, busy_union, underfeed_ratio)
  • Raw kernel evidence table: for each top bubble window, list the kernel(s) immediately before and after the gap — their names, task types, durations, streams — so the human expert can locate the exact spot in the timeline
  • Top 5 bubble windows with timestamps, scope, and host evidence
  • Bubble periodicity statistics across the step group
  • Host evidence coverage assessment
  • Soft root-cause labels with evidence chains
  • Follow-up sampling recommendations
Bubble-first Summary (fixed 5-question template)
  1. Are there significant device idle bubbles?
  2. Which step type/group do they concentrate in?
  3. Are they primarily prelaunch / tail / internal / inter-step?
  4. Is there significant host-originated risk?
  5. Is evidence sufficient for root cause? If not, say so explicitly.
Structure-Level Bubble Drill-Down

For the dominant step, break down bubble contributions per structure:

  • Which structure(s) contain the largest internal bubbles?
  • Are bubbles concentrated at structure boundaries (between layers) or within structures?
  • For structures with large bubbles, what are the surrounding kernel names and task types?

Model Architecture Analysis Pipeline (Separate Markdown Report)

This pipeline produces a standalone Markdown report file that documents the model architecture as reverse-engineered from profiling data. Read references/architecture_report_template.md for the full template, formatting rules, and analysis techniques.

The report is saved as model_architecture_report_<profiling_dir_name>.md in the profiling or output directory.

When to produce the architecture report

Always. Every profiling analysis MUST produce this report alongside the anomaly discovery output. The architecture report provides essential context that makes the anomaly findings interpretable.

Architecture Analysis Phases

Phase A1: FIA_TIMELINE_ANALYSIS

Use FusedInferAttentionScore (FIA) invocations as the primary structural marker:

  1. Extract all FIA kernels from kernel_details.csv (match by name containing FusedInferAttentionScore)
  2. Sort by Start Time(us)
  3. Classify each FIA as prefill (duration > 10ms) or decode (duration < 1ms)
  4. Determine pass count: num_passes = total_FIA / FIA_per_pass
  5. Identify phase transitions by timestamp gaps between prefill and decode FIA clusters
Phase A2: PASS_BOUNDARY_DETECTION

For each forward pass, determine:

  • FIA index range (e.g., #0–#94)
  • Time span (absolute timestamps)
  • Wall time from first kernel to last kernel
  • Average prefill FIA duration
  • Total kernel count

Cross-pass variation (FIA duration, wall time) should be noted — it may reveal KV cache growth or memory pressure effects.

Phase A3: LAYER_CLASSIFICATION

For each layer (delimited by consecutive FIA invocations), extract the kernel sequence and classify:

Classifier kernelLayer type
No MoE markers (no MoeGatingTopK, no DFC, no GroupedMatmul)Dense
DispatchFFNCombine presentMoE+DFC
GroupedMatmul + alltoallv present (no DFC)MoE+GMM
Sampling ops (ArgMax, rejection_*) presentincludes decode/sampling logic

Build a summary table: Layer Type | Layer Range | Count | Characteristics

Phase A4: CROSS_VERIFICATION

Count key ops per pass and verify they match the layer classification:

  • FIA count should equal layer count
  • DispatchFFNCombine count should match MoE+DFC layer count
  • GroupedMatmul count should match MoE+GMM layers + decode layers
  • MoeGatingTopK count should match all MoE layers (DFC + GMM + decode)

Discrepancies indicate classification errors — resolve before proceeding.

Phase A5: PER_LAYER_SUBSTRUCTURE

For EACH distinct layer type, analyze the kernel execution sequence:

  1. Group kernels by functional role (attention, projection, TP comm, MoE routing, expert dispatch, expert FFN, post-MoE norm, next-layer prep, EP comm, sampling)
  2. Measure wall time per functional group
  3. Identify which stream each group runs on
  4. Compute timing breakdown: Component | Wall time | Share of layer
  5. Note anomalies specific to the layer type (warm-up overhead in layer 0, extra kernels in transition layer, AICPU ops that should be on AI_CORE)

Present as kernel sequence trees with timing annotations and stream labels. See the template for the exact tree notation format.

Phase A6: DECODE_ANALYSIS

Decode layers require separate analysis because they have fundamentally different cost profiles:

  • FIA duration drops dramatically (prefill 28ms → decode 0.2ms)
  • Communication (especially all-to-all for EP) often dominates
  • Expert compute shifts from fused (DFC) to explicit (GroupedMatmul)

Produce a dominant costs table and explain why the cost profile differs from prefill.

Phase A7: COMMUNICATION_PIPELINE

Document the multi-stream overlap strategy:

  1. Map each stream to its purpose (main compute, AI_CPU comm, HCCL, alltoall)
  2. Measure overlap ratios between streams
  3. Draw an ASCII pipeline diagram showing how communication hides behind compute
  4. Compute what fraction of total communication is hidden (overlapped)
  5. Explain the kernel_sum >> wall relationship
Phase A8: ARCH_REPORT_RENDER

Assemble all findings into the Markdown report following the template in references/architecture_report_template.md. All 10 required sections must be present:

  1. Configuration Context
  2. Model Architecture Determination (evidence chain table)
  3. Forward Pass Boundaries (per-pass table)
  4. Layer Classification (type table)
  5. Cross-Verification Table
  6. Per-Layer Sub-Structure (kernel sequence trees + timing breakdowns for EACH layer type)
  7. Decode Phase Analysis (dominant costs + prefill vs decode comparison)
  8. Communication Pipeline Structure (stream table + ASCII pipeline diagram)
  9. Layer-to-Layer Variation (comparative table)
  10. Model Architecture Summary (ASCII model diagram + execution timeline)
Phase A9: ARCH_REPORT_SAVE

Save the report as model_architecture_report_<profiling_dir_name>.md. Inform the user of the file location.


Critical Constraints

  • Never skip anomaly discovery because root cause is unclear. Bubble facts are hard conclusions; root cause labels are soft conclusions. Both must always be reported.
  • Never call a high-wait tiny-duration op a real hotspot without checking wait-anchor risk.
  • Never ignore local bubbles just because the step is device-bound overall.
  • Never use only one timing metric — always maintain dual clock accounting (wall_ms + busy_union_ms + kernel_sum_ms + total_cost_ms) at block/side level.
  • Always output insufficient_evidence or possible_untraced_host_blocking when host evidence is sparse — never silently omit the anomaly section.
  • Always include raw kernel context around reported bubbles — the kernel names, task types, durations, and stream IDs immediately before and after each bubble gap.
  • Use layered certainty language: declarative for facts, possible / probable / insufficient evidence for root causes.
  • Always produce the model architecture Markdown report as a separate file — never fold it into the anomaly output alone.
  • Never skip per-layer sub-structure analysis. Every distinct layer type must have its own kernel sequence tree with timing breakdown and stream annotations.
  • Always include the evidence chain table in the architecture report — the reader must see how layer count and pass structure were determined from raw FIA data.
  • Always cross-verify op counts against layer classification before finalizing the architecture report. Discrepancies must be resolved or explicitly noted.

Graceful Degradation

Missing dataImpactAction
record_shapes=falseCannot detect shape variationBubble detection continues; tag VARIABLE_SHAPE_SAME_TEMPLATE skipped
with_stack=falseSoft attribution specificity degradesLower confidence; bubble detection unaffected
Sparse host eventsCannot narrow root-cause familyUNTRACED_HOST_BLOCKING_RISK, requires_host_followup=true
Capture boundary truncationEdge gaps may be artifactsPARTIAL_CAPTURE_BOUNDARY on boundary-adjacent gaps
No communication.jsonCannot assess comm waitSkip comm overlap, note in evidence gaps. Architecture report omits comm pipeline bandwidth stats but still documents stream roles
No step markersCannot define step windowsFall back to global capture span as single pseudo-step
op_summary only (no kernel_details)Coarser granularityUse op-level intervals instead; note in limitations. Architecture report uses op counts for layer classification but cannot produce per-layer kernel sequence trees
No FIA kernels detectedCannot determine layer boundaries via FIAArchitecture report falls back to alternative structural markers (e.g., repeating kernel patterns, communication boundaries). Note reduced confidence in layer count
Single forward pass capturedCannot cross-validate pass consistencyArchitecture report documents single pass; notes that cross-pass variation analysis is unavailable
No decode FIA detectedInference-only or prefill-only captureArchitecture report omits decode phase analysis section; notes capture scope limitation

Output Contract Summary

Every analysis must produce TWO outputs:

1. Anomaly Discovery Output

The anomaly_discovery top-level object containing: enabled, dominant_group_id, global_device_gap_analysis, step_group_anomalies, bubble_windows, wait_anchor_ops, soft_root_cause_summary, requires_host_followup, confidence.

Each step result must include bubble metrics, anomaly tags, and soft root-cause labels.

For the full JSON schema, read references/schema.json.

2. Model Architecture Report (Markdown file)

A standalone Markdown file saved as model_architecture_report_<profiling_dir_name>.md containing all 10 required sections from the architecture template. Read references/architecture_report_template.md for the full specification.

The report must include at minimum:

  • Evidence chain proving layer count and pass structure
  • Layer classification table with all distinct layer types
  • Per-layer kernel sequence trees with timing breakdowns for EACH layer type
  • Communication pipeline structure with stream overlap diagram
  • Model architecture ASCII summary diagram and per-pass execution timeline

The architecture report is the primary deliverable for understanding model structure. It must be self-contained — a reader should be able to understand the full model execution without referring to the anomaly output.

Recommendations

Each recommendation must include scope (global/step_group/structure/side/op), followup_required, evidence_gap, and priority (P0–P3).

Common follow-up patterns:

  • High bubble + missing stacks → re-profile with with_stack=true
  • Missing shapes + unstable grouping → record_shapes=true
  • High host risk + low evidence → host-side sampling / thread view
  • High wait pollution → check communication and sync paths
  • Large inter-structure bubble → check host-side layer dispatch latency

平台分布

Codex

36.22%
按下载量换算119

Claude

29.47%
按下载量换算97

Cursor

18.18%
按下载量换算60

Gemini CLI

8.38%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills