This library uses YouTube API Services. Loading it requests thumbnails from Google; playing a video loads YouTube’s player. By continuing, you agree to the privacy notice and YouTube Terms of Service. See also the Google Privacy Policy.
SageMaker Inference Demystified: Choose the Best Deployment Option for Your ML Workload
In this video we explore the different Hosting options that are available within Amazon SageMaker Inference and which mode is best suited for your ML use-case.
Prerequisites/Good To Know
- Amazon SageMaker Intro: https://www.youtube.com/watch?v=pSu-aVC7UCw&t=4s
- SageMaker Containers Explained: https://www.youtube.com/watch?v=QszQeOygNdM&t=303s
Video Resources
- SageMaker Inference Documentation Notion Page: https://tame-talon-a1b.notion.site/SageMaker-Inference-Resources-174386b8765c80e68146f7ee890d38c5
- SageMaker Hosting Examples: https://github.com/RamVegiraju/SageMaker-Deployment
Times
In this video we continue the SageMaker Inference series playlist. We specifically explore what a SageMaker Real-Time Endpoint is and we get hands-on with deploying a pre-trained SKLearn model on a SageMaker Endpoint.
Prerequisites/Good To Know
Amazon SageMaker Intro: https://www.youtube.com/watch?v=pSu-aVC7UCw
SageMaker Inference Options Explained: https://www.youtube.com/watch?v=pVVKqiMiArc&t=12s
SageMaker Containers Explained: https://www.youtube.com/watch?v=QszQeOygNdM&t=312s
Video Resources
Github Sample: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/RealTime/Pre-Train
Debugging SageMaker Endpoints Simplified Using Docker
In this video we continue the SageMaker Inference series playlist. We specifically explore how we can simplify debugging SageMaker Endpoints using Docker so you don’t have to wait for endpoint creation every time.
Prerequisites/Good To Know
Amazon SageMaker Inference Playlist Series: https://www.youtube.com/watch?v=pVVKqiMiArc&list=PLThJtS7RDkOeo9mpNjFVnIGDyiazAm9Uk&index=1
SageMaker Containers Explained: https://www.youtube.com/watch?v=QszQeOygNdM&t=312s
Video Resources
Github Sample: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/SM-Inference-Video-Series/Docker-Debug
Medi
In this video we continue the SageMaker Inference series playlist. We specifically explore how we can load test SageMaker Endpoints to profile performance.
Prerequisites/Good To Know
- Amazon SageMaker Inference Series: https://www.youtube.com/watch?v=omFOOr4elnc&t=2s
- Locust Intro Blog: https://towardsdatascience.com/why-load-testing-is-essential-to-take-your-ml-app-to-production-faab0df1c4e1/?sk=408d5c906510883bd6ac615df24103d2
Video Resources
- Github Link: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/SM-Inference-Video-Series/Part3-Load-Testing-Profiling
- AWS Blog: h
In this video we continue the SageMaker Inference series playlist following up the Load Testing SageMaker Endpoints portion. We specifically explore how we can enable AutoScaling for SageMaker Real-Time Endpoints.
Prerequisites/Good To Know
- Amazon SageMaker Inference Series: https://www.youtube.com/watch?v=pVVKqiMiArc&list=PLThJtS7RDkOeo9mpNjFVnIGDyiazAm9Uk
Video Resources
- Github Link: https://github.com/RamVegiraju/SageMaker-Deployment/blob/master/SM-Inference-Video-Series/Part4-AutoScaling/autoscaling-sm-endpoints.ipynb
- AutoScaling Blog: https://towardsdatascience.com/autoscaling-sag
Multi-Model Hosting Options on Amazon SageMaker Real-Time Inference
In this video we continue the SageMaker Inference series playlist and specifically explore the different Multi-Model Hosting options that exist within Amazon SageMaker Real-Time Inference. Hands-on videos for both options will be coming in the next videos in the playlist.
Prerequisites/Good To Know
- Amazon SageMaker Inference Playlist Series: https://www.youtube.com/watch?v=pVVKqiMiArc&list=PLThJtS7RDkOeo9mpNjFVnIGDyiazAm9Uk
Video Resources
- Multi-Model Endpoints Documentation: https://docs.aws.amazon.com/sagemaker/latest/dg/multi-model-endpoints.html
- Inference Components Introduction: h
In this video we continue the SageMaker Inference series playlist and follow up on the Multi-Model Hosting options video: https://www.youtube.com/watch?v=egQp4_oWWFM. We specifically explore Multi-Model Endpoints and explore a CPU based use-case where we deploy hundreds of sample SKLearn models using the feature.
Prerequisites/Good To Know
- Multi-Model Hosting Options: https://www.youtube.com/watch?v=egQp4_oWWFM
Video Resources
- Github: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/SM-Inference-Video-Series/Part5-MME-CPU-Deployment
- MME CloudWatch Metrics: https://docs.a
LLM Hosting Options on Amazon SageMaker Real-Time Inference
In this video we continue the SageMaker Inference series playlist and introduce different ways you can host LLMs on SageMaker Real-Time Inference.
Prerequisites/Good To Know
- SageMaker Real-Time Hosting: https://www.youtube.com/watch?v=omFOOr4elnc
Video Resources
- LLM Hosting Resources Notion Page: https://tame-talon-a1b.notion.site/SageMaker-LLM-Hosting-1ab386b8765c8071abfbc1616241264c
- LMI Documentation: https://docs.djl.ai/master/docs/serving/serving/docs/lmi/index.html
- TGI: https://huggingface.co/docs/text-generation-inference/en/index
- SageMaker JumpStart: https://www.youtube.com
Hosting LLMs with the Large Model Inference (LMI) Container on Amazon SageMaker
In this video we continue the SageMaker Inference series playlist and specifically explore the Large Model Inference (LMI) container and how you can use it to simply deploy LLMs on SageMaker Real-Time Endpoints.
Prerequisites/Good To Know
Quick note, ensure to submit a limit increase request for a g5.12xlarge GPU instance for your account it's the compute we use to deploy this model.
- LLM Hosting Options: https://www.youtube.com/watch?v=ofh1Z4aW8Qk&t=451s
- LLM Hosting Resources Notion Page: https://tame-talon-a1b.notion.site/SageMaker-LLM-Hosting-1ab386b8765c8071abfbc1616241264c
Video Res
SageMaker Inference Components: Deploying Multiple LLMs on One Endpoint
In this video we continue the SageMaker Inference series playlist and specifically explore SageMaker Inference Components. We leverage this feature to efficiently deploy multiple LLMs on a singular SageMaker Real-Time Endpoint.
Prerequisites/Good To Know
- LLM Hosting Options on SageMaker: https://www.youtube.com/watch?v=ofh1Z4aW8Qk&t=453s
Video Resources
- Inference Components Blog: https://medium.com/towards-data-science/hosting-multiple-llms-on-a-single-endpoint-32eda0201832?sk=7095f78b4dbc7c19b0b338a88eeaeb96
- Notebook: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/SM-
In this video we explore another Inference mode within SageMaker AI Inference known as Batch Transform, this option is tailored for offline-inference use-cases.
Video Resources
- Notebook: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/SM-Inference-Video-Series/Part8-Batch-Transform
- Batch Transform Docs: https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html
Timestamps
0:00 Introduction
0:30 Inference Modes on SM
2:00 Batch Use-Cases & Architecture
5:25 Notebook Walkthrough
#sagemaker #machinelearning #aws #huggingface
Hybrid Hosting with SageMaker AI Asynchronous Inference
In this video we explore another SageMaker Inference mode known as Asynchronous Inference which is tailored for hybrid hosting use-cases.
Video Resources
- Notebook: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/SM-Inference-Video-Series/Part9-Async-Inference
- Async Docs: https://docs.aws.amazon.com/sagemaker/latest/dg/async-inference.html
Timestamps
0:00 Introduction
0:30 Inference Modes on SM
1:10 Async Use-Cases
5:18 Async Architecture
8:05 Notebook Walkthrough
#sagemaker #machinelearning #aws #huggingface
Deploy SageMaker Endpoints Using CloudFormation (IaC Tutorial)
In this video we continue the Amazon SageMaker Inference series and explore Infrastructure as Code (IaC) best practices via AWS CloudFormation to deploy SageMaker endpoints.
Video Resources
Code: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/SM-Inference-Video-Series/Part10-CloudFormation-IaC
IaC Intro Article: https://medium.com/data-science/infrastructure-as-code-with-aws-207239573de
Real-Time Inf Intro Video: https://www.youtube.com/watch?v=omFOOr4elnc&list=PLThJtS7RDkOeo9mpNjFVnIGDyiazAm9Uk&index=3
Timestamps
0:00 Introduction
0:25 What is IaC
4:00 IaC Options
6:15 Hand
How to Deploy AWS SageMaker Endpoints with Terraform (IaC)
In this video we explore another Infrastructure as Code option with Terraform to deploy SageMaker Real-Time Endpoints.
Video Resources
Code Sample: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/SM-Inference-Video-Series/Part11-Terraform-IaC
Terraform Installation: https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli
Terraform SM Documentation: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/sagemaker_model
Timestamps
0:00 Introduction
1:40 What is IaC
5:50 Terraform vs CFN
8:55 Hands-On
#sagemaker #terraform #aws #mlop
In this video we explore a Bring Your Own Container (BYOC) approach for SageMaker Inference/Hosting. In cases where you need heavy customization, this approach is handy.
Video Resources
Code Sample: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/SM-Inference-Video-Series/Part12-BYOC
Docs: https://docs.aws.amazon.com/sagemaker/latest/dg/adapt-inference-container.html
Containers on SM: https://www.youtube.com/watch?v=QszQeOygNdM&t=366s
Timestamps
0:00 Introduction
1:00 When to use BYOC
4:00 Sample use-cases
9:00 Hands-On
#sagemaker #mlops #aws #machinelearning
Customizing LLMs at Scale with SageMaker Multi-Adapter Inference
In this video we explore SageMaker Multi-Adapter Inference. We introduce the concept of having a Base Model Inference Component and child Adapter Components. For future videos we'll look at practical examples of fine-tuning your own adapters and operationalizing them using the feature we explore todayl
Video Resources
Code: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/SM-Inference-Video-Series/Part13-Multi-Adapter-Inference
Inference Components Intro: https://www.youtube.com/watch?v=RcUNEeUqpNQ&list=PLThJtS7RDkOeo9mpNjFVnIGDyiazAm9Uk&index=10
vLLM LMI Engine User Guide: htt
Optimizing LLM Hosting with the latest AWS Large Model Inference Container
In this video we explore Large Model Inference (LMI) container v16 and some of the optimizations and features it comes with such as upgraded vLLM support.
Video Resources
* Sample Code: https://github.com/aws-samples/sagemaker-genai-hosting-examples/blob/main/LMI-Container-Launches/LMIv16/lmi-v16-intro.ipynb
* LMI Container Intro: https://www.youtube.com/watch?v=Q-Kz5Yi0QiQ
* Inf Components Video: https://www.youtube.com/watch?v=RcUNEeUqpNQ&list=PLThJtS7RDkOchq0_dwjQkzzb5idzOxN7l&index=14&t=1s
* vLLM LMI User Guide: https://docs.djl.ai/master/docs/serving/serving/docs/lmi/user_guides/vllm_use
Enabling Tool Calling with vLLM to Build Agentic Applications on Amazon SageMaker
In this video we explore enabling tool calling via vLLM and the LMI Container on Amazon SageMaker. In future videos we explore how you can also use orchestration frameworks such as LangChain to build Agentic applications on SageMaker.
Video Resources
- Sample Code: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/SM-Inference-Video-Series/Part14-vLLM-Tool-Calling
- vLLM Tool Calling Docs: https://docs.vllm.ai/en/stable/features/tool_calling.html
- vLLM Tool Calling Medium Article: https://dgallitelli95.medium.com/tool-calling-with-amazon-sagemaker-ai-and-djl-serving-inference-6
Enabling Sticky Session Routing on Amazon SageMaker to Build Stateful GenAI Applications
In this video we explore enabling Sticky Session Routing via the LMI Container on SageMaker Real-Time Endpoints to enable statefulness in your GenAI applications.
Video Resources
Sample Code: https://github.com/RamVegiraju/SageMaker-Deployment/tree/master/SM-Inference-Video-Series/Part15-Sticky-Session-Routing
LMI Docs: https://github.com/deepjavalibrary/djl-demo/blob/master/aws/sagemaker/large-model-inference/sample-llm/stateful_inference_llama3_8b.ipynb
Sticky Session Blog: https://medium.com/@aditimishra_541/sticky-sessions-an-in-depth-overview-4ec19bd7e22a
Sticky Session Blog Two: https:/