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 11: Elastic Model Training and Serving

The one big challenge in distributed DNN training is determining how many GPUs or accelerators to use for a single training or inference job. If we assign too many GPUs to a single job, it may waste computational resources. If we assign too few GPUs to a particular job, it may lead to an insanely long training time. In addition, this choice of the number of GPUs is also highly relevant to choosing the corresponding hyperparameters (such as batch size and learning rate) during the whole DNN training session. How to choose the appropriate quantity of accelerators is the main topic we cover in this chapter. In addition, we will also explore hyperparameter tuning accordingly.

Before we discuss anything ...

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