New course with Predibase: Efficiently Serving LLMs
Key Takeaways
Covers efficient serving of large language models using Predibase and performance optimization techniques
Full Transcript
I'm excited to introduce this new short course efficiently serving large language models built in partnership with prabas and Tau by Travis there this course presents a stepbystep deep technical dive into how the text generation process of Transformer networks is implemented this turns out to have a significant effect on the time to First token that is after you've input a prompt how long the user has to wait to get the first token of output as well is the overall throughput of an LM Travis who's an expert on AI serving infrastructure will show how LM inference is actually made efficient and cover key technical details like KB caching which caches computations from early steps to speed up the generation of later tokens and you learn about precisely how the computational steps are carried out whether you're serving your own fine tune LM or one that someone else has pre-trained this course will give you a much deeper understanding of what's actually happening under the hood on delighted in news the instructor Travis there co-founder and CTO at prabas Travis leads an elite engineering team developing prab base's platform for training and serving LMS prior to that Travis led the team that built Uber's Michelangelo's platforms deep learning capabilities and also led the development of popular open- Source machine learning Frameworks horovod and LX thanks Andrew I'm really excited to be here in this course you'll learn how large language models generate text one token at a time and how techniques like KV caching continuous batching and quantization can be implemented to speed things up and optimize memory uses as you serve multiple users at once and you'll learn how to implement your own llm inference server in pytorch by implementing these state-of-the-art algorithms from scratch and measuring their performance this sounds great and in addition to serving a single pre-trained model you also learn techniques like low rank adaptation or Laura which can be efficiently employed to serve hundreds of different custom fine Tu models on a single device without sacrificing throughput that's right Andrew it turns out there's a lot more to it than downloading a model from hugging face and putting a web server in front with the knowledge from this course in hand you'll better understand the trade-offs that you have to make as you think about the performance of your application and you'll be better positioned to evaluate what a potential vendor is offering you and whether their promises are realistic this will help you make the best decisions for your project and for your company learning the technical details of how OMS are Serv will help you become a better developer I hope you enjoy the [Music] course
Original Description
Enroll now: https://bit.ly/3IA1WLs
This course will help you build a ground-up understanding of how to serve large language model applications.
Whether you’re ready to launch your own application or just getting started building it, you will deepen your foundational knowledge of how LLMs work and better understand the performance trade-offs you must consider when building LLM applications that will serve large numbers of users.
You’ll walk through the most important optimizations that allow LLM vendors to efficiently serve models to many customers, including strategies for working with multiple fine-tuned models at once. In this course, you will:
- Learn how auto-regressive LLMs generate text one token at a time.
Implement the foundational elements of a modern LLM inference stack in code, including KV caching, continuous batching, and model quantization, and benchmark their impacts on inference throughput and latency.
- Explore the details of how LoRA adapters work, and learn how batching techniques allow different LoRA adapters to be served to multiple customers simultaneously.
- Get hands-on with Predibase’s LoRAX framework inference server to see these optimization techniques implemented in a real world LLM inference server.
- Enhance your understanding of the options you have to increase the performance and efficiency of your LLM-powered applications.
Learn more: https://bit.ly/3IA1WLs
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from DeepLearningAI · DeepLearningAI · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Forward and Backward Propagation (C1W4L06)
DeepLearningAI
deeplearning.ai's Heroes of Deep Learning: Yuanqing Lin
DeepLearningAI
deeplearning.ai's Heroes of Deep Learning: Ruslan Salakhutdinov
DeepLearningAI
deeplearning.ai's Heroes of Deep Learning: Yoshua Bengio
DeepLearningAI
deeplearning.ai's Heroes of Deep Learning: Pieter Abbeel
DeepLearningAI
deeplearning.ai's Heroes of Deep Learning: Ian Goodfellow
DeepLearningAI
deeplearning.ai's Heroes of Deep Learning: Andrej Karpathy
DeepLearningAI
Using an Appropriate Scale (C2W3L02)
DeepLearningAI
Gradient Checking (C2W1L13)
DeepLearningAI
Gradient Checking Implementation Notes (C2W1L14)
DeepLearningAI
Learning Rate Decay (C2W2L09)
DeepLearningAI
Understanding Mini-Batch Gradient Dexcent (C2W2L02)
DeepLearningAI
Mini Batch Gradient Descent (C2W2L01)
DeepLearningAI
The Problem of Local Optima (C2W3L10)
DeepLearningAI
Exponentially Weighted Averages (C2W2L03)
DeepLearningAI
Tuning Process (C2W3L01)
DeepLearningAI
Understanding Exponentially Weighted Averages (C2W2L04)
DeepLearningAI
Bias Correction of Exponentially Weighted Averages (C2W2L05)
DeepLearningAI
Gradient Descent With Momentum (C2W2L06)
DeepLearningAI
Normalizing Activations in a Network (C2W3L04)
DeepLearningAI
Hyperparameter Tuning in Practice (C2W3L03)
DeepLearningAI
Adam Optimization Algorithm (C2W2L08)
DeepLearningAI
RMSProp (C2W2L07)
DeepLearningAI
Fitting Batch Norm Into Neural Networks (C2W3L05)
DeepLearningAI
Why Does Batch Norm Work? (C2W3L06)
DeepLearningAI
Batch Norm At Test Time (C2W3L07)
DeepLearningAI
Softmax Regression (C2W3L08)
DeepLearningAI
Deep Learning Frameworks (C2W3L10)
DeepLearningAI
Neural Network Overview (C1W3L01)
DeepLearningAI
Training Softmax Classifier (C2W3L09)
DeepLearningAI
Why Deep Representations? (C1W4L04)
DeepLearningAI
Gradient Descent For Neural Networks (C1W3L09)
DeepLearningAI
Neural Network Representations (C1W3L02)
DeepLearningAI
TensorFlow (C2W3L11)
DeepLearningAI
Activation Functions (C1W3L06)
DeepLearningAI
Explanation For Vectorized Implementation (C1W3L05)
DeepLearningAI
Getting Matrix Dimensions Right (C1W4L03)
DeepLearningAI
Understanding Dropout (C2W1L07)
DeepLearningAI
Building Blocks of a Deep Neural Network (C1W4L05)
DeepLearningAI
Why Non-linear Activation Functions (C1W3L07)
DeepLearningAI
Computing Neural Network Output (C1W3L03)
DeepLearningAI
Backpropagation Intuition (C1W3L10)
DeepLearningAI
Train/Dev/Test Sets (C2W1L01)
DeepLearningAI
Deep L-Layer Neural Network (C1W4L01)
DeepLearningAI
Random Initialization (C1W3L11)
DeepLearningAI
Other Regularization Methods (C2W1L08)
DeepLearningAI
Normalizing Inputs (C2W1L09)
DeepLearningAI
Derivatives Of Activation Functions (C1W3L08)
DeepLearningAI
Parameters vs Hyperparameters (C1W4L07)
DeepLearningAI
Vectorizing Across Multiple Examples (C1W3L04)
DeepLearningAI
What does this have to do with the brain? (C1W4L08)
DeepLearningAI
Dropout Regularization (C2W1L06)
DeepLearningAI
Vanishing/Exploding Gradients (C2W1L10)
DeepLearningAI
Basic Recipe for Machine Learning (C2W1L03)
DeepLearningAI
Bias/Variance (C2W1L02)
DeepLearningAI
Forward Propagation in a Deep Network (C1W4L02)
DeepLearningAI
Weight Initialization in a Deep Network (C2W1L11)
DeepLearningAI
Numerical Approximations of Gradients (C2W1L12)
DeepLearningAI
Regularization (C2W1L04)
DeepLearningAI
Why Regularization Reduces Overfitting (C2W1L05)
DeepLearningAI
Related Reads
📰
📰
📰
📰
Building Production-Grade LLM Evaluation Pipelines: From Vibes to Metrics
Dev.to AI
Building AI Data Pipelines — How to Feed Your LLM Fresh Web Data
Dev.to AI
Conversation between two LLMs
Dev.to · Jaime
Do We Still Need to Write API Tests? An Experiment with LLM Agents Testing a REST API
Medium · Programming
🎓
Tutor Explanation
DeepCamp AI