Chapter 9: A Hybrid of Data and Model Parallelism
In general, we have two different parallelism schemes—data parallelism and model parallelism. Each of them has advantages and disadvantages. In this chapter, we will try to leverage both data parallelism and model parallelism together. We call it a hybrid of data parallelism and model parallelism.
Before we discuss this further, we want to list our assumptions, as follows:
- Even though the advanced graphics processing unit (GPU) from NVIDIA now supports multi-tenancy, we still assume that one job occupies the whole GPU.
- When our training or serving job starts running, we do not allow job preemption or system interruption.
- We assume the use of homogenous GPUs for a single job.
- We assume the interconnects ...
Get Distributed Machine Learning with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.