AI Infra Interviews logo
← Kubernetes, Slurm & GPU Scheduling / 22
mediumCrusoeLambda

Explain how a Slurm job actually gets its GPUs: GRES, partitions, cgroups, and the sbatch that lands 8 GPUs on one node.

Follow a GPU request from node inventory through allocation, device confinement and task launch. A single-node, eight-task example shows how resource shape and per-task device numbering fit together.

Updated Oct 2026 · Learn how AI infrastructure works through explanations, worked examples and diagrams, then practise applying it to interview questions.

Follow a GPU request from node inventory through allocation, device confinement and task launch. A single-node, eight-task example shows how resource shape and per-task device numbering fit together.

The full answer is part of Premium. A free account includes more answers in each topic, but does not unlock this one.

20 answers per topic instead of 10, plus saved progress and bookmarks · no cardor unlock all 316 remaining answers · ₹2,000 / $25
UP NEXT ON YOUR JOURNEY
FEDITOR'S NOTE

Check that the script requests one node and eight GPUs, makes task binding explicit, and distinguishes CUDA visibility from cgroup enforcement. Explain signal handling without promising automatic checkpoints.

DISCUSSION · 0

No comments yet — be the first to share your approach.