Streaming benchmark and recommendation results to MLflow with Amazon SageMaker AI
AWS•How-to••by Mona Mona, Lokeshwaran Ravi, Shen Teng, Siddharth Shah and Kareem Syed-Mohammed•AWS Artificial Intelligence Blog
In this post, you learn how to use the new MLflow integration with Amazon SageMaker AI optimized inference recommendation jobs and Amazon SageMaker AI benchmark jobs to automatically stream experiment data into a unified tracking interface. This integration streams metrics, parameters, and charts into your serverless Amazon SageMaker MLflow App in real time and you get a unified experiment tracking experience.
SageMaker AI benchmark and inference recommendation jobs can now stream metrics, parameters and charts into a serverless SageMaker MLflow App in real time, with runs grouped by experiment.
Who it is for
Teams benchmarking and tuning generative AI model serving on SageMaker AI who need to compare instance types and configurations in one place.
Key points
Requires an MLflow App, execution role permissions for sagemaker-mlflow:*, and MlflowConfig set on the job
Works only with SageMaker MLflow Apps, not self-hosted MLflow tracking servers
Needs tooling.version 0.8.0 or later for nested run support
Recommendation jobs provision their own endpoints, so ComputeSpec.InstanceTypes should be left unset unless constraining the search
AI:Shows how to build Amazon Managed Grafana dashboards over CloudWatch metrics that track both infrastructure quantity (GPU, latency, invocations, cost) and LLM quality scores for SageMaker AI inference components.
AI:HyperPod can now record inference request and response payloads from production endpoints to Amazon S3, for drift checks, troubleshooting and building evaluation or training data.
AI:SageMaker AI adds custom metrics, LLM-as-a-judge preference tests, log probability capture, metadata passthrough and multi-node runs for Nova model evaluations.