ad-layer-visualizer
CommunityTurn layer graphs into debuggable diagrams.
Software Engineering#kernel profiling#graph debugging#transformer layer visualization#autodeploy graph dump#nsys trace annotation#DOT PNG rendering
Authoryo-steven
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you inspect a single transformer decoder layer inside an AutoDeploy FX/SSA graph dump by producing a clear hierarchical diagram, and (optionally) overlaying real GPU kernel names and timings from an nsys trace for performance debugging.
Core Features & Use Cases
- Layer-focused visualization: Select a specific decoder layer number and produce a DOT/PNG diagram from an AutoDeploy graph dump.
- Graph-to-layer extraction logic: Builds the layer subgraph by following SSA dataflow from layer-specific weight references and residual boundaries.
- Optional trace annotation: When you provide an nsys trace, it extracts per-layer kernel sequences and maps them onto diagram nodes to highlight what actually ran and how long it took.
Quick Start
Run the skill and ask it: "Visualize layer 5 from my AutoDeploy graph dumps in /path/to/dumps, and annotate it using /path/to/trace.sqlite, saving the rendered PNGs next to the JSON outputs."
Dependency Matrix
Required Modules
graphviznsys
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ad-layer-visualizer Download link: https://github.com/yo-steven/skills-exploration-20260522/archive/main.zip#ad-layer-visualizer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.