Why is GPU utilization low during PyTorch training?
Low GPU utilization in PyTorch usually means the GPU is waiting on the CPU. How to measure it, what each symptom means, and what idle time costs.
Low GPU utilization in PyTorch usually means the GPU is waiting on the CPU. How to measure it, what each symptom means, and what idle time costs.
Use DDP when the model fits on one GPU, FSDP when it doesn't, and launch with torchrun. Code, memory math and a cost check for going multi-node.
Save model, optimizer and step atomically, reload on start, and save again on the reclaim notice. Nodus restores the state on a new machine for you.