179 questions
No questions match those filters.
← All questions
System DesignHard· Parallelism· Distributed Training· Transformer Architecture
Design the parallelism strategy for a 100B dense transf...
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 plansFor a 100B dense transformer, the model size at bf16 is 200GB. By setting Tensor Parallelism (TP) to 8, each GPU handles 25GB, which fits within H100 memory without needing Pipeline Parallelism (PP). With 512 GPUs, this results in 64 TP groups. Setting Data Parallelism (DP) to 64 allows for a global batch size of 2048, with each replica processing 32 sequences. ZeRO-1 is recommended to shard optimizer states across DP ranks, and the strategy relies on overlapping gradient synchronization with computation to maintain efficiency.