agentleFS
NVIDIAKnown publisherNVIDIA/deepops/skills/validate-gpu-cluster/SKILL.md

validate-gpu-cluster

Skill1.5k starsChanged 5 months agoBSD-3-ClauseView on GitHub

Check whether a DeepOps-deployed Slurm or Kubernetes GPU cluster is healthy and report a machine-readable verdict. Use for health checks, post-deploy verification, "is the cluster working?" questions, and after any node or driver change.

Trending

Quiet since June.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the NVIDIA/deepops repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about NVIDIA/deepops

The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 23

Talked about on GitHub (23 times).

On GitHub · 23

18 more on GitHub

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Not deployed yet / checking the provisioning environment → scripts/validation/deepops_doctor.py (run from the repository root)

    line 14
  2. Very specific:

    All tools support --json and exit 0 only when every check passes.

    line 17
  3. Very specific:

    Run the matching validator with --json.

    line 22
  4. Very specific:

    Use --skip-gpu-job (Slurm) or omit --cuda-smoke (Kubernetes) when a strictly read-only check is required — for example on a busy production …

    line 29
  5. Distinctive:

    Read the verdict from the JSON, not from ad-hoc commands:

    line 33
  6. Very specific:

    Use the name-sorted nodes list to identify individual failures.

    line 38
  7. Very specific:

    When a GPU check fails, do not conclude "driver broken" from a bare nvidia-smi over SSH — on Slurm nodes GPUs are hidden outside jobs.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Validate a GPU cluster

Which validator

  • Slurm cluster → scripts/validation/validate_slurm.py (run on a cluster node)
  • Kubernetes cluster → scripts/validation/validate_k8s.py (run wherever kubectl reaches the cluster)
  • Not deployed yet / checking the provisioning environment → scripts/validation/deepops_doctor.py (run from the repository root)

All tools support --json and exit 0 only when every check passes. Full contract: docs/deepops/validation.md.

Procedure

  1. Run the matching validator with --json.

    python3 scripts/validation/validate_slurm.py --json
    python3 scripts/validation/validate_k8s.py --json --cuda-smoke

    Use --skip-gpu-job (Slurm) or omit --cuda-smoke (Kubernetes) when a strictly read-only check is required — for example on a busy production cluster where a test job would queue behind real work.

  2. Read the verdict from the JSON, not from ad-hoc commands:
    • ok: true — report healthy, include the key counts (nodes_total, gpus_configured/gpus_allocatable).
    • ok: false — report each entry in failures verbatim; they name the failing subsystem and the next diagnostic step.
    • Use the name-sorted nodes list to identify individual failures. Slurm entries report name, normalized state, and gpus_configured; Kubernetes entries report name, ready, and gpus_allocatable.
  3. When a GPU check fails, do not conclude "driver broken" from a bare nvidia-smi over SSH — on Slurm nodes GPUs are hidden outside jobs. Follow skills/diagnose-driver-install/ instead.

Interpreting common results

SignalMeaning
Slurm nodes_unavailable > 0Node down/drained — scontrol show node <name> for the reason.
Slurm gpus_configured: 0GRES not configured — check config/group_vars/slurm-cluster.yml GPU settings and rerun the Slurm playbook.
K8s gpus_allocatable: 0GPU Operator stack not ready — kubectl get pods -A | grep -i nvidia; first-deploy driver builds can take 10+ minutes.
K8s smoke pod PendingNo schedulable GPU or image pull failure — kubectl -n deepops-validate describe pod.
Direct nvidia-smi over SSH says "No devices were found" on a Slurm nodeExpected GPU-hide behavior, not a failure.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.