Creating custom rules using the Debugger client library
Note
After careful consideration, we have made the decision to close new customer access to Amazon Sagemaker Debugger, effective 7/30/26. Existing customers can continue to use the service as normal. AWS continues to invest in security and availability improvements for Debugger, but we do not plan to introduce new features. For more information, see Debugger availability change.
You can create custom rules to monitor your training job using the Debugger rule APIs and
the open source smdebug Python library
Prerequisites for creating a custom rule
To create Debugger custom rules, you need the following prerequisites.
Your own custom rule python script
Amazon SageMaker Debugger image URIs for custom rule evaluators