profile-model
Installation
SKILL.md
Profile a model on MAX
This skill answers three questions about any model you can run on MAX, whether
it's a built-in architecture or a custom one loaded with
--custom-architectures:
- Is my GPU actually being used? (utilization, memory, clocks)
- Where does my model spend the most time? (which kernels / phases)
- Why is this kernel slow? (occupancy, stalls, roofline)
It works from a pip or pixi install of MAX, driving the public max CLI or
a Python script.
How to decide what to run
Each question needs a deeper, more expensive capture than the last. Work from the cheapest check toward the most invasive, and let each result decide whether going deeper is even worth it — don't capture more than the question needs.