AI Cloud Architect

Streaming benchmark and recommendation results to MLflow with Amazon SageMaker AI

AWSHow-to by Mona Mona, Lokeshwaran Ravi, Shen Teng, Siddharth Shah and Kareem Syed-MohammedAWS 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.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

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

Timeline

  1. This postStreaming benchmark and recommendation results to MLflow with Amazon SageMaker AI
  2. What it explainsLLM optimization integration for Amazon SageMaker Python SDK · AWS · Blog post
  3. What it explainsGenerative AI Inference Recommendation for Amazon SageMaker now available in the SageMaker AI Studio · AWS · Announcement

Go deeper