本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)20k · #10478

evaluate-cluster

できること

このスキルは、GPU マシン上で一連のテストを実行し、代金を払ったり受け入れたりする前に、計算、ネットワーク、ストレージの速度を確認します。クラウドの GPU クラスターを借りていて、ハードウェアが約束どおりの性能を出すという証拠がほしいチーム向けです。

使う場面

  • ✓クラウドの GPU クラスターを、契約する前に試用しているとき。
  • ✓複数のマシン間のネットワーク帯域を確認したいとき。
  • ✓ハードウェアが期待に沿うかどうかについて、日付付きのレポートが必要なとき。

スキルのリンク

https://github.com/stas00/ml-engineering/blob/master/skills/evaluate-cluster/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/stas00/ml-engineering/blob/master/skills/evaluate-cluster/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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.

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:
よくある質問

1 台のマシンだけをテストしますか?

あなたが渡したすべての GPU とノードをテストします。ノードが 1 つだけの場合は、ネットワークのテストはスキップされます。

なぜ最新の指示を確認するのですか?

古いダウンロードの指示は古くなっていることがあるため、スキルは最初に公式版を確認します。

最終レポートには何が含まれますか?

環境、計算、ネットワーク、ディスクの結果を含む、日付付きの 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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル