profile-model

Installation
SKILL.md

Profile Model

Analyze PyTorch profiler traces (.json/.json.gz files) to diagnose GPU performance issues, find slow kernels, and identify bottlenecks.


Step 1: Get Trace Path

Ask the user for the trace file path. Traces are typically:

  • Single file: /path/to/trace.json or /path/to/trace.json.gz
  • Directory (multi-rank): /path/to/traces/ containing rank0.json, rank1.json, etc.

Step 2: Load Trace as DataFrame

Load the trace into a pandas DataFrame for flexible querying.

⚠️ IMPORTANT: Ask user before caching. Do NOT cache automatically. Ask:

Installs
15
GitHub Stars
8
First Seen
Jun 11, 2026
profile-model — meta-pytorch/skills