Skip to Content
Distributed Machine Learning with Python
book

Distributed Machine Learning with Python

by Guanhua Wang
April 2022
Intermediate to advanced
284 pages
5h 53m
English
Packt Publishing
Content preview from Distributed Machine Learning with Python

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Interpretable Machine Learning with Python

Interpretable Machine Learning with Python

Serg Masís
Distributed Computing with Python

Distributed Computing with Python

Francesco Pierfederici

Publisher Resources

ISBN: 9781801815697Supplemental Content