Skip to content

Commit c16a7c0

Browse files
author
Marius Moisescu
committed
Updated profiler_config and test
1 parent 2ec9f80 commit c16a7c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sagemaker/debugger/profiler_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def __init__(
3232
s3_output_path: Optional[Union[str, PipelineVariable]] = None,
3333
system_monitor_interval_millis: Optional[Union[int, PipelineVariable]] = None,
3434
framework_profile_params: Optional[FrameworkProfile] = None,
35-
disable_profiler: Optional[FrameworkProfile] = False,
36-
):
35+
disable_profiler: Optional[Union[str, PipelineVariable]] = False,
36+
)
3737
"""Initialize a ``ProfilerConfig`` instance.
3838
3939
Pass the output of this class

tests/unit/sagemaker/workflow/test_steps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ def test_create_model_step_with_model_pipeline(tfo, time, sagemaker_session):
874874
},
875875
{
876876
"Environment": {"SAGEMAKER_DEFAULT_INVOCATIONS_ACCEPT": "text/csv"},
877-
"Image": "246618743249.dkr.ecr.us-west-2.amazonaws.com/sagemaker-sparkml-serving:2.4",
877+
"Image": "246618743249.dkr.ecr.us-west-2.amazonaws.com/sagemaker-sparkml-serving:3.3",
878878
"ModelDataUrl": "s3://bucket/model_2.tar.gz",
879879
},
880880
],

0 commit comments

Comments
 (0)