Distributed Training with PyTorch DDP
Multiple GPUs are not free speed. Here is what actually has to be synchronized.
Multiple GPUs are not free speed. Here is what actually has to be synchronized.
Most training loops are slower than they need to be, and the bottleneck is rarely where people assume.
An experiment you cannot repeat is an anecdote, not a result.
Six lines in the right order, and the reasons each one has to be there.
Autograd is the computation graph you already built, constructed for you at runtime.