SageMaker metrics persistence

0

Quick questions on ML metrics persistence from sagemaker training tasks. The SageMaker regexp-over-CloudWatch is an attractive option, yet the metric retention in Cloudwatch seems to be restricted to 15 days.

  1. How to persist those metrics longer? Is it common to extract them out of Cloudwatch regularly to persist them somewhere else, eg S3 or an RDS? what is the best practice for long-term persistence of those metrics?
  2. Would SageMaker Experiments allow a collection of similar data (customer-defined training metrics) over a longer retention?
AWS
专家
已提问 4 年前525 查看次数
1 回答
0
已接受的回答
  1. You can now persist algorithm metrics from SageMaker Training Jobs (the ones you can collect with regexes or the ones available from built-in algorithms by default) by setting EnableSageMakerTimeSeriesMetrics through the AWS SDK or enable_sagemaker_metrics=true in the SageMaker Python SDK. These metrics are persisted long term, and available through Amazon SageMaker Studio. (Go to "Metrics" -> "Add Chart" from the detail page of a training job). These are available at no additional cost.

  2. Yes, SageMaker Experiments allow collection of similar data

Note that system metrics (CPU/GPU/Memory/Disk) are still available only through CloudWatch.

AWS
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则