@@ -532,9 +532,6 @@ def test_training_step_with_framework_estimator(
532
532
del expected_step_args ["OutputDataConfig" ]["S3OutputPath" ]
533
533
del step_def ["Arguments" ]["OutputDataConfig" ]["S3OutputPath" ]
534
534
535
- # delete profiler rule configurations because of timestamp collision
536
- del expected_step_args ["ProfilerRuleConfigurations" ]
537
-
538
535
if "sagemaker_s3_output" in step_args ["HyperParameters" ]:
539
536
del expected_step_args ["HyperParameters" ]["sagemaker_s3_output" ]
540
537
del step_def ["Arguments" ]["HyperParameters" ]["sagemaker_s3_output" ]
@@ -602,9 +599,6 @@ def test_training_step_with_framework_estimator_local_code(
602
599
del expected_step_args ["OutputDataConfig" ]["S3OutputPath" ]
603
600
del step_def ["Arguments" ]["OutputDataConfig" ]["S3OutputPath" ]
604
601
605
- # delete profiler rule configurations because of timestamp collision
606
- del expected_step_args ["ProfilerRuleConfigurations" ]
607
-
608
602
if "sagemaker_s3_output" in step_args ["HyperParameters" ]:
609
603
del expected_step_args ["HyperParameters" ]["sagemaker_s3_output" ]
610
604
del step_def ["Arguments" ]["HyperParameters" ]["sagemaker_s3_output" ]
@@ -694,9 +688,6 @@ def test_training_step_with_algorithm_base(algo_estimator, training_input, pipel
694
688
del step_args ["InputDataConfig" ][0 ]["DataSource" ]["S3DataSource" ]["S3Uri" ]
695
689
del step_def ["Arguments" ]["InputDataConfig" ][0 ]["DataSource" ]["S3DataSource" ]["S3Uri" ]
696
690
697
- # delete profiler rule configurations because of timestamp collision
698
- del step_args ["ProfilerRuleConfigurations" ]
699
-
700
691
assert step_def == {
701
692
"Name" : "MyTrainingStep" ,
702
693
"Type" : "Training" ,
@@ -781,9 +772,6 @@ def test_training_step_with_algorithm_base_local_code(
781
772
del step_args ["InputDataConfig" ][0 ]["DataSource" ]["S3DataSource" ]["S3Uri" ]
782
773
del step_def ["Arguments" ]["InputDataConfig" ][0 ]["DataSource" ]["S3DataSource" ]["S3Uri" ]
783
774
784
- # delete profiler rule configurations because of timestamp collision
785
- del step_args ["ProfilerRuleConfigurations" ]
786
-
787
775
assert step_def == {
788
776
"Name" : "MyTrainingStep" ,
789
777
"Type" : "Training" ,
0 commit comments