Turn off Debugger - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Turn off Debugger

If you want to completely turn off Debugger, do one of the following:

  • Before starting a training job, do the following:

    To turn off profiling, include the disable_profiler parameter to your estimator and set it to True.


    If you disable it, you won't be able to view the comprehensive Studio Debugger insights dashboard and the autogenerated profiling report.

    To turn off debugging, set the debugger_hook_config parameter to False.


    If you disable it, you won't be able to collect output tensors and cannot debug your model parameters.

    estimator=Estimator( ... disable_profiler=True debugger_hook_config=False )

    For more information about the Debugger-specific parameters, see SageMaker Estimator in the Amazon SageMaker Python SDK.

  • While a training job is running, do the following:

    To disable both monitoring and profiling while your training job is running, use the following estimator classmethod:


    To disable framework profiling only and keep system monitoring, use the update_profiler method:


    For more information about the estimator extension methods, see the estimator.disable_profiling and estimator.update_profiler classmethods in the Amazon SageMaker Python SDK documentation.