evaluate-cluster
What it does
Runs a set of tests on GPU machines to check compute, network and storage speed before you pay for or accept them. It is for teams renting cloud GPU clusters who want proof the hardware performs as promised.
When to use it
- ✓When you are trialing a cloud GPU cluster before committing to it.
- ✓When you want to confirm network bandwidth between several machines.
- ✓When you need a dated report on whether the hardware meets expectations.
Skill link
https://github.com/stas00/ml-engineering/blob/master/skills/evaluate-cluster/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I am trialing a new GPU cluster from a cloud provider. Run the acceptance tests and write me a report.”
5 new skills a week. 1 minute to read.
How it works
The skill first checks that it has the current version of its instructions, then runs tests for compute, bandwidth, latency and disk on each machine. It writes the results to a dated markdown report.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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: |
FAQ
Does it test just one machine?
It tests every GPU and node you give it. Network tests are skipped when there is only one node.
Why does it check for the latest instructions?
Old downloads of the instructions can be out of date, so the skill checks its official copy first.
What is in the final report?
A dated markdown report with the environment, compute, network and disk results.
Details
Original description by the author
Evaluates an ML GPU cluster for a cloud trial or acceptance test: environment dump, isolated newest PyTorch, matmul FLOPS (MAMF/MSMF) on every GPU while the others compute, intra-node all-reduce bandwidth and per-call latency of every collective, the same inter-node on every node you were given (omit those sections if there is only one node), fio on local disk and shared FS, dated markdown report. Use when the user asks to evaluate a cluster, kick the tires on trial nodes, run cluster acceptance, or measure GPU/network/storage. Canonical copy: https://github.com/stas00/ml-engineering/blob/mast
repo: stas00/ml-engineering
Popularity
- GitHub stars
- 20k
- Ranking position
- #10478
- License
- CC-BY-SA-4.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.