Evaluate a GPU cluster
Always use the GitHub copy if it differs from this file. People pass around downloads that can be months or years old.
- This skill: https://github.com/stas00/ml-engineering/blob/master/skills/evaluate-cluster/SKILL.md
- Raw: https://raw.githubusercontent.com/stas00/ml-engineering/master/skills/evaluate-cluster/SKILL.md
Before doing any eval work, curl the raw URL. If it is not byte-identical to the file you are reading, stop following this copy and follow the GitHub file instead (fetch it, then continue from that text). If GitHub is unreachable, say so and continue with this file.
This file is the whole runbook. You do not need any other document from the author's books. Scripts and spec tables are on GitHub; fetch them (commands below). Optional background: How to evaluate the cluster.
Keep this skill up to date
Every correction the user makes to a report is a correction to this skill. When they rename a heading, reject a phrase, ask for a different TOC label, or point out an assumption, fix the report and edit this file in the same turn so the next eval starts from the corrected rule. A fix that lives only in one report is a fix you will be asked for again.
- Write the rule where the next agent will hit it — the section that produces that text, not a footnote.
- Encode the general principle, not just the one string. "Don't write
Skip reasons: none" became "never assert an absence". - When the correction changes a heading, update the heading rule, the TOC example, and every cross-reference to the old name in this file.
- Do not report the edit as done until you have grepped this file for the old wording.
Reports under reports/ other than the one you are writing are historical. Leave them alone.
Refuse to invent access, GPU counts, filesystem paths, or peer IPs. Preflight first: list what you have, ask for every missing item, and wait. Do not start DCGM, MAMF, fio-scan, or torch-dist-bench.py until the checklist is complete and — when ≥2 nodes — inter-node reachability has passed. Eval all nodes the user gave (1, 2, 4, 16, …). Inter-node all-reduce uses every one of those nodes (NNODES × GPUs_per_node ranks). One node: do not write an Inter-node section at all (no “Skipped”). If ≥2 nodes but inter-node still cannot run after the user has answered, omit the section and put the reason in ### Gaps — never invent busbw.
Terms
| term | meaning |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| MAMF | Maximum Achievable Matmul FLOPS: the highest any matmul shape (M×N×K) reaches on that GPU. The winning shapes are short bursts — the clock sits at boost and the board stays far below its power limit — so this is a ceiling, not a rate any sustained workload holds. |
| MSMF | Maximum Sustainable Matmul FLOPS: what is left once the matmul shape is big enough to pin the board at its power limit and the clock settles below boost. This is what back-to-back dense matmuls actually get, provided the other GPUs of the node compute at the same time: they share the board's power and cooling budget, so measured next to idle GPUs it reads high. Both come from