April 2022
Intermediate to advanced
284 pages
5h 53m
English
Generally speaking, model parallelism is less efficient than data parallelism. The main reasons are twofold, as outlined here.
First, the sequential dependency among deep neural network (DNN) layers holding onto different graphics processing units (GPUs) limits the performance. One GPU may not start working until its predecessor finishes generating outputs.
Second, the limited GPU memory makes it impossible to train a large input batch in each training iteration. Due to the large size of the model parameters, we can only train small batches of data per training iteration.
Given the preceding two challenges, we try to improve throughput and latency performance by adopting state-of-the-art ...