We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ed614b commit d000bdcCopy full SHA for d000bdc
src/sagemaker/debugger/profiler_config.py
@@ -90,7 +90,11 @@ def _to_request_dict(self):
90
"""
91
profiler_config_request = {}
92
93
- if self.s3_output_path is not None:
+ if (
94
+ self.s3_output_path is not None
95
+ and self.disable_profiler is not None
96
+ and self.disable_profiler is False
97
+ ):
98
profiler_config_request["S3OutputPath"] = self.s3_output_path
99
100
profiler_config_request["DisableProfiler"] = self.disable_profiler
0 commit comments