SMDebug RulesConfig is a Python library that provides a mapping of built-in rules with default configurations for Amazon SageMaker Debugger. It helps users specify these rules and common collection configurations without needing to handle low-level details, working in conjunction with the Amazon SageMaker Python SDK. The current version is 1.0.1, released in December 2020. While the package itself has not seen recent updates, its functionality remains an integral part of the SageMaker Debugger ecosystem.
pip install smdebug-rulesconfigVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to instantiate built-in SageMaker Debugger rules using `smdebug-rulesconfig` via the `sagemaker.debugger` module. It shows both a basic rule configuration and a more advanced example with custom parameters and tensor collection specifications, which are typically passed to a SageMaker Estimator.
Review SageMaker Python SDK and `smdebug` documentation for best practices when upgrading, especially concerning profiler rules and rule actions. Ensure your `sagemaker` and `smdebug` client libraries are also up-to-date.
Always run `pip install -U sagemaker smdebug` alongside `pip install -U smdebug-rulesconfig` to ensure all components are at compatible and recent versions.
Set `debugger_hook_config=False` when initializing your SageMaker framework estimator, e.g., `estimator = TensorFlow(..., debugger_hook_config=False)`.
Understand that `smdebug-rulesconfig` provides the rule definitions, which are then passed to a SageMaker Estimator. SageMaker handles running these rules. For local or custom analysis, the `smdebug` client library is used to read debug data. Refer to the SageMaker Debugger developer guide for a comprehensive understanding of the workflow.
No dependency data recorded yet.