sagemaker-python-sdk icon indicating copy to clipboard operation
sagemaker-python-sdk copied to clipboard

Model Monitor on Batch Tansform

Open GeeCastro opened this issue 6 years ago • 2 comments

Describe the feature you'd like Model monitoring for batch transformers behaving the same as normal endpoints.

How would this feature be used? Please describe. Adding a data capture config to the transformer: https://sagemaker.readthedocs.io/en/stable/api/inference/transformer.html?highlight=transformer Describe alternatives you've considered Using only endpoints, end multiple endpoints where necessary. We are currently having a look at ML flow tracking: https://www.mlflow.org/docs/latest/tracking.html

Additional context NA

GeeCastro avatar Jul 13 '20 10:07 GeeCastro

Thank you for your request!

nadiaya avatar Jul 13 '20 21:07 nadiaya

This is supported in SageMaker Python SDK V3 (3.21.0). You can monitor batch transform jobs by passing a batch_transform_input to the monitoring schedule, using BatchTransformInput in place of an endpoint input:

from sagemaker.core.model_monitor import BatchTransformInput

The create and update monitoring-schedule methods on the data-quality, model-quality, and Clarify monitors all accept batch_transform_input. Upgrade with pip install --upgrade sagemaker (3.21.0 or later). If you still hit this on V3, please reopen with a traceback and we will take another look.

jam-jee avatar Sep 14 '26 20:09 jam-jee