@@ -35,15 +35,15 @@ def gpu_instance_type(request):
3535
3636@pytest .mark .canary_quick
3737def test_hvd_cpu (sagemaker_session , cpu_instance_type , tmpdir ):
38- __create_and_fit_estimator (sagemaker_session , cpu_instance_type , tmpdir )
38+ _create_and_fit_estimator (sagemaker_session , cpu_instance_type , tmpdir )
3939
4040
4141@pytest .mark .canary_quick
4242@pytest .mark .skipif (
43- integ .test_region () in integ .HOSTING_NO_P2_REGIONS , reason = "no ml.p2 instances in this region"
43+ integ .test_region () in integ .TRAINING_NO_P2_REGIONS , reason = "no ml.p2 instances in this region"
4444)
4545def test_hvd_gpu (sagemaker_session , gpu_instance_type , tmpdir ):
46- __create_and_fit_estimator (sagemaker_session , gpu_instance_type , tmpdir )
46+ _create_and_fit_estimator (sagemaker_session , gpu_instance_type , tmpdir )
4747
4848
4949@pytest .mark .local_mode
@@ -97,7 +97,7 @@ def extract_files_from_s3(s3_url, tmpdir):
9797 tar_file .extractall (tmpdir )
9898
9999
100- def __create_and_fit_estimator (sagemaker_session , instance_type , tmpdir ):
100+ def _create_and_fit_estimator (sagemaker_session , instance_type , tmpdir ):
101101 job_name = sagemaker .utils .unique_name_from_base ("tf-horovod" )
102102 estimator = TensorFlow (
103103 entry_point = os .path .join (horovod_dir , "hvd_basic.py" ),
0 commit comments