ML Model and Foundation Model (FM) Development
A neural network's parameters exceed one GPU's memory even at batch size 1, but fit across several GPUs. Which distributed training approach allows training to proceed?
Show the answer
Correct answerD. Partition the model across GPUs using model parallelism
AWhy not this: Replicating the full model leaves each GPU with the same parameter memory requirement.
BWhy not this: Early stopping can shorten a run but cannot make an oversized model fit in GPU memory.
CWhy not this: Gradient accumulation reduces the microbatch memory requirement but does not partition model parameters.
DWhy this is right: Partitioning places different parts of the model on different GPUs, addressing model parameter memory limits.
Model parallelism partitions a model across devices, allowing its parameters to exceed one GPU's memory. Standard data parallelism replicates the model on each GPU, so each replica must still fit on its device.