179 questions
No questions match those filters.
How do you choose between data parallelism, tensor para...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansData parallelism (specifically ZeRO-3) shards optimizer states, gradients, and parameters across replicas and is the default choice until model size exceeds per-GPU memory. Tensor parallelism partitions weight matrices across devices, requiring two all-reduce calls per layer, and should be restricted to high-bandwidth NVLink domains. Pipeline parallelism partitions layers across nodes and requires careful micro-batching to minimize bubble overhead, where the ideal bubble fraction is approximately 1/m, with m being the number of micro-batches per pipeline flush.