evaluate-cluster
它能做什么
在 GPU 机器上运行一组测试,在你付费或接受之前检查计算、网络和存储速度。它适用于租用云端 GPU 集群、并希望证明硬件表现与承诺相符的团队。
适用场景
- ✓当你在正式采用一个云端 GPU 集群之前进行试用的时候。
- ✓当你想确认多台机器之间的网络带宽的时候。
- ✓当你需要一份带日期的报告,判断硬件是否符合预期的时候。
技能链接
https://github.com/stas00/ml-engineering/blob/master/skills/evaluate-cluster/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我正在试用云服务商提供的一个新 GPU 集群。请运行验收测试,并为我撰写报告。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能会先检查它是否拥有最新版本的指令,然后在每台机器上运行计算、带宽、延迟和磁盘测试。它会把结果写入一份带日期的 markdown 报告。
技术内容(原始 SKILL.md)
作者在 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: |
常见问题
它只测试一台机器吗?
它会测试你提供的每个 GPU 和节点。只有一个节点时,会跳过网络测试。
为什么要检查最新的指令?
旧版本的指令下载可能已经过时,因此该技能会先检查其官方版本。
最终报告包含什么?
一份带日期的 markdown 报告,包含环境、计算、网络和磁盘的结果。
详情
作者的原始描述
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
热度
- GitHub 星标
- 20k
- 排名
- #10478
- 许可证
- CC-BY-SA-4.0
- 更新时间
- 2026/11/1
评论
- …