llm-pipeline-analysis
Installation
SKILL.md
LLM Pipeline Analysis
Overview
Use this when a whole-trace profiler summary is too coarse. The scripts read a Chrome-trace JSON file, find layer-boundary anchor kernels, group kernels into forward passes and layers, and print timing tables you can use for Perfetto navigation or detailed timing analysis.
When To Use It
- when you need to know which layers contribute most
- when the model has alternating layer types (e.g. models with
compress_ratioslike DeepSeek-V4 NSA, or hybrid GDN/GQA stacks such as Qwen3.8-27B) - when you need to compare cold-start vs steady-state forward passes
- when you need to navigate to a specific layer in Perfetto UI
- when you need to select representative layers for deep-dive analysis