Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions skills/tracelens-analysis-orchestrator/.federated.json

This file was deleted.

31 changes: 6 additions & 25 deletions skills/tracelens-analysis-orchestrator/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,15 @@ Coordinate **system-level** analysis (CPU/idle, kernel fusion, multi-kernel / co

## Full procedure

Follow **[reference.md](reference.md)** for every step (user prompts, `<prefix>` / `{CMD}` usage, CLI commands, subagent launch text, validation, report `tee` order, plot embedding, and trace diagnostics).

## Workflow index

```
0. Query User Inputs (Platform, Trace Path(s), Analysis Mode, Environment Setup)
1. Generate Performance Report (branches on analysis mode: training vs inference then, comparison scope)
2-5. Prepare Category Data (GPU Util, Top Ops, Tree Data, Multi-Kernel Data, Category Filtering)
6. System-Level Analysis (PARALLEL) → system_findings/
7. Compute Kernel Subagents (PARALLEL) → category_findings/
7.5. Aggregate → priority_data.json::findings[]
8. Validate Subagent Outputs
9. load_findings + Model Identification (subagent) → metadata/model_info.json
10. Render performance PNG if agent_extension.py is absent
11. Generate analysis.md (orchestrator writes via <prefix> tee), optional extension, embed PNG
```
If TraceLens is not available in the current python environment, then create a python virtual environment and install TraceLens from https://github.com/amd-agi/TraceLens
Read the full tracelens event orchestrator installed with TraceLens and follow all instructions. Do not skip any steps.
Look in the directory tree under `TraceLens/Agent/Analysis` to find the orchestrator.
Find the full workflow in the TraceLens analysis orchestrator installed with TraceLens.

## Rules

- **Subagents:** Use the Task tool **only** where reference.md says “subagent” (Steps **6**, **7**, **9**). The orchestrator runs everything else, including Step 7.5, using the command prefix from `<output_dir>/cache/cmd_prefix.txt` (`{CMD}` substitution).
- **Language:** Prefer vendor-agnostic terms (GPU kernels, collective communication, vendor GEMM library, DNN primitives, GPU graph). When quoting trace data, real kernel names are fine.
- **Subagent prompts:** Point each subagent at the checked-in agent file under `TraceLens/Agent/Analysis/skills/analysis-orchestrator/agents/<name>.md` (see reference.md for exact paths and prompt shells).
Find all rules in the TraceLens analysis orchestrator installed with TraceLens.

## Primary outputs

- **Deliverable:** `<output_dir>/analysis.md`
- **Internals:** `system_findings/`, `category_findings/`, `category_data/`, `metadata/`, `perf_report*.xlsx`, CSV folders — see package README for layout.

## Agent layout

Project subagents ship with this skill: `TraceLens/Agent/Analysis/skills/analysis-orchestrator/agents/*.md`.
Find all required outputs inside the tracelens event orchestrator installed with TraceLens.
186 changes: 0 additions & 186 deletions skills/tracelens-analysis-orchestrator/agents/convolution-analyzer.md

This file was deleted.

Loading
Loading