deploy-slurm-cluster
Skill1.5k starsChanged 5 months agoBSD-3-ClauseView on GitHub
Deploy a Slurm GPU cluster with DeepOps and prove it works. Use when asked to deploy, install, or rebuild Slurm on one or more GPU servers with this repository.
1 other project uses a version of this.
Trending
Quiet since June.about the whole repository
Most recently taken up by
- awslabs/awsome-distributed-aitheir own version, first seen Sep 11, 2026
Who's talking about NVIDIA/deepops
- kubeflow/kubeflow“Add support to display different GPU types, specifically NVIDIA Multi-Instance GPUs”GitHub · Oct 8, 2020 · 6 reactions
- kubeflow/website“Really need a Kubeflow Ecosystem Section to the Website, (Note list is attached I found who are in the …”GitHub · Jun 28, 2020 · 4 reactions
- PyTorchKR/landscape“[Add] NVIDIA DeepOps (NVIDIA/deepops)”GitHub · Jun 6, 2026
- glotzerlab/hoomd-blue“Allow dynamic loading of slurm_conf on Anvil.”GitHub · Jul 19, 2024
- hashicorp/vagrant“Error with provider libvirt”GitHub · Mar 24, 2024
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
- Oct 8, 2020Add support to display different GPU types, specifically NVIDIA Multi-Instance GPUs — kubeflow/kubeflow6 reactions · 13 comments
- Jun 28, 2020Really need a Kubeflow Ecosystem Section to the Website, (Note list is attached I found who are in the Ecosystem) — kubeflow/website4 reactions · 11 comments
- Jun 6, 2026[Add] NVIDIA DeepOps (NVIDIA/deepops) — PyTorchKR/landscape0 reactions
- Jul 19, 2024Allow dynamic loading of slurm_conf on Anvil. — glotzerlab/hoomd-blue0 reactions
- Mar 24, 2024Error with provider libvirt — hashicorp/vagrant0 reactions · 1 comment
18 more on GitHub
- Aug 13, 2023Set HPA(Horizontal Pod Autoscaler) of Triton Inference Server with Prometheus metric — MrSyee/SAM-remove-background0 reactions
- Apr 4, 2023Configuration issues with containerd failing Kubespray install with "unknown service runtime.v1alpha2.ImageService" error — kubernetes-sigs/kubespray0 reactions · 6 comments
- Nov 10, 2022Prometheus metric gpu_capacity is not found. — NTHU-LSALAB/KubeShare0 reactions · 4 comments
- Feb 26, 2022SLURM gpus-per-task issue — NVIDIA/pyxis0 reactions · 5 comments
- Sep 5, 2021feature(GPU): kubespray install NVIDIA GPU — k8sli/kubeplay0 reactions · 1 comment
- Aug 12, 2021Ensure systemd unit reloaded when restarting — NVIDIA/ansible-role-nvidia-docker0 reactions
- May 18, 2021Super huge log messages from journald - misconfigured filter_concat? — kokuwaio/helm-charts0 reactions · 2 comments
- Mar 22, 2021Add var to allow skipping reload of Docker daemon — NVIDIA/ansible-role-nvidia-docker0 reactions
- Dec 18, 2020Multiple Pods stucks in CrashLoopBackOff — kubeflow/kubeflow0 reactions · 9 comments
- Oct 19, 2020Update PPA URL — DeepOps/ansible-maas0 reactions
- Oct 7, 2020enroot-nsenter: failed to create user namespace: Invalid argument — NVIDIA/enroot0 reactions · 2 comments
- Aug 20, 2020Istio Dex Manifest v1.0.2 is "Unable to fetch Nodes", centraldashboard throwing 504 — kubeflow/community-distribution0 reactions · 2 comments
- Jul 16, 2020Multi-GPU workloads hang in Jupyter Notebooks launched through Kubeflow — kubeflow/kubeflow0 reactions · 3 comments
- Jun 16, 2020update_ood_portal may not work on Ubuntu — OSC/ood-ansible0 reactions · 1 comment
- May 18, 2020details = "failed to connect to all addresses" in "helm" module — ansible/ansible0 reactions · 8 comments
- Jan 22, 2020Failed to fetch https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/index.yaml : 403 Forbidden — prometheus-operator/kube-prometheus0 reactions · 4 comments
- Sep 14, 2019ambassador always CrashLoopBackOff — kubeflow/kubeflow0 reactions · 8 comments
- Aug 9, 2019"Copy kubectl binary to ansible host" sometimes fails with memory error due to known issue with 'fetch' module. — kubernetes-sigs/kubespray0 reactions · 8 comments
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- awslabs/awsome-distributed-ai★ 484same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- deploy-airgappedSkill
- deploy-k8s-gpu-clusterSkill
- diagnose-driver-installSkill
- provision-with-maasSkill
- validate-gpu-clusterSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Run everything from the repository root.
- Very specific: line 66
gpu_job_ok: falsewith driver errors: follow skills/diagnose-driver-install/. - Very specific: line 68
Node shows
downordrainedinnode_states: check scontrol show node <name> for the reason.
≈ “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.
Files
Deploy a Slurm GPU cluster
Preconditions
- Ubuntu 22.04/24.04 or RHEL/Rocky 8/9 hosts you may fully manage (driver installs may reboot them; no active users or workloads).
- SSH access from the provisioning machine to every host as a sudo-capable user.
- Run everything from the repository root.
Procedure
Prepare the environment and verify it:
git submodule update --init --recursive ./scripts/setup.sh cp -r config.example config- Edit
config/inventory: put the controller under[slurm-master]and compute nodes under[slurm-node](a single machine can be both). Set the connection user in[all:vars]if not root. Preflight — must pass before deploying:
python3 scripts/validation/deepops_doctor.py --remote --jsonFix anything in
failures(each check'sdetailsays how) and rerun.Deploy:
ansible-playbook -l slurm-cluster playbooks/slurm-cluster.ymlThis installs NVIDIA drivers, builds and configures Slurm, and sets up munge, NFS, and node health checks. Expect roughly 30–60 minutes on a first run.
Validate on a cluster node — the success signal is this, not the play recap:
python3 scripts/validation/validate_slurm.py --jsonRequire
"ok": truewithgpu_job_ok: trueandnodes_unavailable: 0.
Failure branches
- Playbook fails on a transient error (mirror timeout, apt lock,
network blip): rerun the same playbook; it is idempotent. A converged
rerun ends with
changed=0. nvidia-smiworks in the validator's srun job but "fails" over SSH: that is the login GPU-hide behavior, not an error (see AGENTS.md gotchas).gpu_job_ok: falsewith driver errors: followskills/diagnose-driver-install/.- Node shows
downordrainedinnode_states: checkscontrol show node <name>for the reason; after fixing, resume withscontrol update nodename=<name> state=resume. - Wrong or stale host facts after reprovisioning a node: rerun with
--flush-cache.
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
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.

