advancedTraining ~45 min
Run a distributed training job
Launch a multi-GPU training job with gang scheduling.
Scenario
You need all ranks to start together so the collective doesn't deadlock.
Prerequisites
- ·Multiple GPU nodes
- ·A batch scheduler (Kueue/Volcano)
- ·RDMA fabric for multi-node
0 / 3 tasks
- bash
kubectl apply -f pytorchjob.yamlExpected · Workers are created together (gang).
- bash
kubectl logs -f pytorchjob-worker-0 - bash
# In logs, NCCL_DEBUG=INFO should show the RDMA interface and expected bandwidth.
Success criteria
- ✓All ranks started together
- ✓Steps advance at expected throughput
- ✓Collectives use RDMA
Hints
- ·A hang at startup is usually a wrong NCCL interface or MTU mismatch.
- ·Enable elastic training so a failed rank resumes from checkpoint.