Accelerating model training and serving with distributed systems
Guanhua Wang
Python#
Machine_Learning#
Build and deploy an efficient data processing pipeline for machine learning model training in an elastic, in-parallel model training or multi-tenant cluster and cloud
Reducing time cost in machine learning leads to a shorter waiting time for model training and a faster model updating cycle. Distributed machine learning enables machine learning practitioners to shorten model training and inference time by orders of magnitude. With the help of this practical guide, you'll be able to put your Python development knowledge to work to get up and running with the implementation of distributed machine learning, including multi-node machine learning systems, in no time. You'll begin by exploring how distributed systems work in the machine learning area and how distributed machine learning is applied to state-of-the-art deep learning models. As you advance, you'll see how to use distributed systems to enhance machine learning model training and serving speed. You'll also get to grips with applying data parallel and model parallel approaches before optimizing the in-parallel model training and serving pipeline in local clusters or cloud environments. By the end of this book, you'll have gained the knowledge and skills needed to build and deploy an efficient data processing pipeline for machine learning model training and inference in a distributed manner.
This book is for data scientists, machine learning engineers, and ML practitioners in both academia and industry. A fundamental understanding of machine learning concepts and working knowledge of Python programming is assumed. Prior experience implementing ML/DL models with TensorFlow or PyTorch will be beneficial. You'll find this book useful if you are interested in using distributed systems to boost machine learning model training and serving speed.
"I highly recommend Ganhua’s book, Distributed Machine Learning with Python, as a practical guide to ML practitioners interested in taking their model training to the next level of scale and computational efficiency. The book organizes and builds upon a wealth of knowledge contributed by academic and industry researchers as well as machine learning engineers. The reader will appreciate the insightful analysis Ganhua provides about the fundamental computation-communication tradeoffs associated with a variety of distributed machine learning architectures."
Yasser M. Ibrahim, Senior Vice President of Artificial Intelligence, Computational Imaging and IoT Devices at Axon
"I recommend this book by Guanhua Wang. The important thing to know about Distributed Machine Learning (ML) in this context is its "distributed" nature. Distributed ML requires attention to system, deployment, and infrastructure details. This book covers those details systematically in a very readable format: latency, parallelism, splitting the data, pipelines, throughput, bottlenecks, checkpointing, server workflows, cloud deployments, performance metrics, and more. The book addresses the critical algorithmic components of distributed ML like federated machine learning and hyperparameter tuning in a distributed learning environment. The chapter about the discussion of Internet of Things, connected edge devices, and related federated learning paradigms in a shared collaborative sensor environment also fascinated me. The readers will find concepts to learn, inspired by, ponder, and build when you read this wonderful book by Dr. Wang, who is a recently graduated Computer Science PhD."
Kirk Borne, Chief Science Officer at DataPrime Inc; and Founder and Owner of Data Leadership Group LLC
Guanhua Wang is a final-year Computer Science PhD student in the RISELab at UC Berkeley, advised by Professor Ion Stoica. His research lies primarily in the Machine Learning Systems area including fast collective communication, efficient in-parallel model training and real-time model serving. His research gained lots of attention from both academia and industry. He was invited to give talks to top-tier universities (MIT, Stanford, CMU, Princeton) and big tech companies (Facebook/Meta, Microsoft). He received his master’s degree from HKUST and bachelor’s degree from Southeast University in China. He also did some cool research on wireless networks. He likes playing soccer and runs half-marathon multiple times in the Bay Area of California.