Questions and answers
19 questions from the community, answered by the
author in
#book-of-the-week
on Slack.
-
luca pugliese asked
Thank You very much to Yuan Tang for the interesting topic treated and for the answers received during this week! Thanks to DTC and in particular to Francis Terence Amit for the assistance.
-
Prajwal Srinivas asked
Hello Yuan👋
1. What would be the prerequisite knowledge required to learn from this book?
2. At what point do we decide that a distributed ML architecture is required?
3. With the advent of LLMs and generative AI and these APIs being available at a reasonable cost, how prevalent are fundamental ML models now?
4. Can the patterns be applied to Large Language Model based applications too?
Thank you for organizing this Q and A😄
-
Wale Abiodun Ogundeji asked
Hi Yuan Tang, how can get the book Distributed Machine Learning Systems?
-
Alex Litvinov asked
Hi! I have a question about TPUs. They seem to be amazing at least from the first glance, I tried training CNNs on it on Kaggle and Google Colab and it significantly sped up the training process. yes, one needs to change their code in comparison to the training on GPU but it seems like a minor thing. Yet I have the impression that TPUs are not getting a wide adoption, the majority of the training that I see is happening on GPU. I might be very wrong, I haven't done a deep analysis either.
so, what's your take on it?
-
Low Kim Hoe asked
Hi Yuan Tang, for the distributed training, do you using Spark to perform the training or else tools?
-
Naeronatin Reditor asked
Hi Yuan, why sometimes for some models using a single GPU is better than a cluster?
-
Peter Ernicke asked
Hi Yuan,
the second part of this book is about "PATTERNS OF DISTRIBUTED MACHINE LEARNING SYSTEMS". I like patterns as a guideline in complex processes and also to standardize things. I wonder that these patterns are also helpful just in normal ML system?
-
Peter Ernicke asked
Maybe two more general questions: What are some of the most common challenges that developers face when building distributed machine learning systems? How do you address these challenges in your book?
-
Peter Ernicke asked
What inspired you to write a book on distributed machine learning? Was there a particular experience or challenge that motivated you to share your knowledge with others? What do you think are the most promising applications of distributed machine learning in the near future?
-
Nisar Ahmed Shariff asked
Yuan Tang My next question is regarding using trained model to respond to requests. During model serving one obvious way to increase response throughput is to have multiple instances of model running and have a load balancer before it. This is similar to having multiple pods running and ingress controller takes care of load balancing. And then we can use k8s pod auto scaling features to scale up and down based on traffic. I do not have in-depth knowledge of model serving processes. My actual question is - Is there any other way of getting throughput in model serving similar to how we get higher throughput by using non-blocking async processing for non-ML applications?
-
Dr Abdulrahman Baqais asked
Hello Yuan Tang. Thank you for the book. few questions in mind:
1)How many of these patterns are known by practitioners?
2) At what stage do you believe practioners should follow pattern-based practices ( Ingestion, dev , deployment).
3) Are patterns adopted by ML engineers are enough to ensure successful delivery of ML models, Or we need to a full ML process across the team similar to Software engineering processes. And a follow up one, do you think researchers and practioners can find a process that ensure rapid development, incremwntal delivery and high ROI of ML models. Something that is better than CRISP.
Thank you for your responce and insights.
-
luca pugliese asked
Though, if I correctly understood, the use cases for the adoption of distributed design patterns origin from facing some large scale component (big dataset, high traffic on the server,...) could it be a sensible thing start locally by making a small scale prototype without the use of cloud resources. As an example, by making use of 2 or three machines (laptops/PCs) connected in a LAN , just to test the communication part of the final distributed system?
-
Yuan Tang
Author of the book
Congrats to all the winners and thanks for all the questions!
Here are my social links if you'd like to follow what I am working on: LinkedIn (opens in a new tab), Twitter/X (opens in a new tab), Mastodon (opens in a new tab), GitHub (opens in a new tab)
Thanks Alexey Grigorev for inviting me to this fun event and Francis Terence Amit for coordinating it!
-
Ali Manson asked
👋 Hi everyone! My name is Ali Manson and I'm from Germany.
I am finding peoples from US, UK, Canada, Philippines, Australia and India who can work with me.
If you're interested in my suggestion, contact me.
-
luca pugliese asked
Is training of a generative AI model with several billions of paramaters a possible use case for distributed ML, especially if the model need periodical retraining? Do you mention something about this use case in the book?
-
Philip Dießner asked
Hello Yuan Tang, thanks for being here.
Are the patterns and solutions in your book also applicable and useful when working with a provided distributed environment Databricks or is it for a pure build-it-yourself approach?
-
Philip Dießner asked
How was your writing process for the book and long did it take?
-
Yuan Tang
Author of the book
Thanks everyone for all the great questions this week!
Quick news to share: Distributed Machine Learning Patterns is now available in ePub and liveBook formats in case you'd like to add it to your digital collection! https://bit.ly/2RKv8Zo (opens in a new tab)
-
Nisar Ahmed Shariff asked
Hi Yuan, As a person trying to understand ML process management improvements, I see this topic is of interest to me. I have been in solutioning Data intensive products delivering on k8s platfom. I am wondering how ML training, serving, and feedback loop back to improve model quality canbe made parallel. Can larger ML models be partially trained and combined similar to map-reduce patterns to increase parallelism? Does this book throw light into these aspects? What do you suggest me to get a good understanding of this?
Want the whole story?
The answers above are the short version of Distributed Machine Learning Patterns.