Skip to content

Commit 46cef2a

Browse files
author
Marius Moisescu
committed
fix: do not specify S3 path for disabled profiler
1 parent 16605c1 commit 46cef2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/debugger/profiler_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def _to_request_dict(self):
9393
if (
9494
self.s3_output_path is not None
9595
and self.disable_profiler is not None
96-
and self.disable_profiler is True
96+
and self.disable_profiler is False
9797
):
9898
profiler_config_request["S3OutputPath"] = self.s3_output_path
9999

0 commit comments

Comments
 (0)