Why SageMaker Model Deployment?
Amazon SageMaker makes it easy to sagemaker-deploy ML models including foundation models (FMs) to make predictions (also known as inference) at the best price-performance for any use case. From low latency (a few milliseconds) and high throughput (millions of transactions per second) to long-running inference for use cases such as natural language processing and computer vision, you can use SageMaker for all their inference needs. SageMaker is a fully managed service and integrates with MLOps tools, so you can scale your model sagemaker-deployment, reduce inference costs, manage models more effectively in production, and reduce operational burden.
Why SageMaker Model Deployment?
Amazon SageMaker makes it easy to sagemaker-deploy ML models including foundation models (FMs) to make predictions (also known as inference) at the best price-performance for any use case. From low latency (a few milliseconds) and high throughput (millions of transactions per second) to long-running inference for use cases such as natural language processing and computer vision, you can use SageMaker for all their inference needs. SageMaker is a fully managed service and integrates with MLOps tools, so you can scale your model sagemaker-deployment, reduce inference costs, manage models more effectively in production, and reduce operational burden.
How it works
How it works
Benefits of SageMaker Model Deployment
Wide range of options for every use case
Broad range of inference options
From low latency (a few milliseconds) and high throughput (hundreds of thousands of requests per second) to long-running inference for use cases such as natural language processing and computer vision, you can use Amazon SageMaker for all your inference needs.
Low latency and ultra-high throughput for use cases with steady traffic patterns.
Learn more
Low latency and high throughput for use cases with intermittent traffic patterns.
Learn moreLow latency for use cases with large payloads (up to 1 GB) or long processing times (up to 15 minutes).
Learn more
Flexible deployment endpoint options
Amazon SageMaker provides scalable and cost-effective ways to deploy large numbers of ML models. With SageMaker’s multi-model endpoints and multi-container endpoints, you can deploy thousands of models on shared infrastructure, improving cost-effectiveness while providing the flexibility to use models as often as you need them. Multi-model endpoints support both CPU and GPU instance types, allowing you to reduce inference cost by up to 90%.
One model on a container hosted on dedicated instances or serverless for low latency and high throughput.
Learn more
Multiple models sharing a single container hosted on shared infrastructure for cost-effectiveness. This reduces hosting costs by improving endpoint utilization compared with using single-model endpoints.
Learn moreMultiple containers sharing dedicated instances for models that use different frameworks.
Learn more
Multiple containers sharing dedicated instances and executing in a sequence. You can use an inference pipeline to combine preprocessing, predictions, and post-processing data science tasks.
Learn moreSupport for most machine learning frameworks and model servers
Amazon SageMaker inference supports built-in algorithms and prebuilt Docker images for the most common ML frameworks such as TensorFlow, PyTorch, ONNX, and XGBoost. If none of the pre-built Docker images serve your needs, you can build your own container for use with CPU backed multi-model endpoints. SageMaker inference supports most popular model servers such as TensorFlow Serving, TorchServe, NVIDIA Triton, AWS multi-model server. You can also support large models with DJL serving using DeepSpeed and Hugging Face Accelerate model parallelization frameworks. With these options, you can sagemaker-deploy models including foundation models (FMs) quickly for virtually any use case.
Achieve high inference performance at low cost
-
High-performing infrastructure
-
Shadow testing
-
Inference recommender
-
Autoscaling for elasticity
-
High-performing infrastructure
-
Deploy models on the most high-performing infrastructure or go serverless
Amazon SageMaker offers more than 70 instance types with varying levels of compute and memory, including Amazon EC2 Inf1 instances based on AWS Inferentia, high-performance ML inference chips designed and built by AWS, and GPU instances such as Amazon EC2 G4dn. Or, choose Amazon SageMaker Serverless Inference to easily scale to thousands of models per endpoint, millions of transactions per second (TPS) throughput, and sub10 millisecond overhead latencies.
-
Shadow testing
-
Shadow test to validate performance of ML models Amazon SageMaker helps you evaluate a new model by shadow testing its performance against the currently sagemaker-deployed model using live inference requests. Shadow testing can help you catch potential configuration errors and performance issues before they impact end users. With SageMaker, you don’t need to invest weeks of time building your own shadow testing infrastructure. Just select a production model that you want to test against, and SageMaker automatically sagemaker-deploys the new model in shadow mode and routes a copy of the inference requests received by the production model to the new model in real time.
-
Inference recommender
-
Automatic inference instance selection and load testing
Amazon SageMaker Inference Recommender helps you choose the best available compute instance and configuration to sagemaker-deploy machine learning models for optimal inference performance and cost. SageMaker Inference Recommender automatically selects the compute instance type, instance count, container parameters, and model optimizations for inference to maximize performance and minimize cost.
Learn more
-
Autoscaling for elasticity
-
Autoscaling for elasticity
You can use scaling policies to automatically scale the underlying compute resources to accommodate fluctuations in inference requests. With autoscaling, you can shut down instances when there is no usage to prevent idle capacity and reduce inference cost.
Learn more
Reduce operational burden and accelerate time to value
-
Managed model hosting
-
MLOps integration
-
Managed model hosting
-
Fully managed model hosting and management
As a fully managed service, Amazon SageMaker takes care of setting up and managing instances, software version compatibilities, and patching versions. It also provides built-in metrics and logs for endpoints that you can use to monitor and receive alerts.
Learn more
-
MLOps integration
-
Built-in integration with MLOps features
Amazon SageMaker model sagemaker-deployment features are natively integrated with MLOps capabilities, including SageMaker Pipelines (workflow automation and orchestration), SageMaker Projects (CI/CD for ML), SageMaker Feature Store (feature management), SageMaker Model Registry (model and artifact catalog to track lineage and support automated approval workflows), SageMaker Clarify (bias detection), and SageMaker Model Monitor (model and concept drift detection). As a result, whether you sagemaker-deploy one model or tens of thousands, SageMaker helps off-load the operational overhead of sagemaker-deploying, scaling, and managing ML models while getting them to production faster.
Learn more