@@ -65,6 +65,7 @@ def test_mnist(sagemaker_session, instance_type):
6565 sagemaker_session = sagemaker_session ,
6666 script_mode = True ,
6767 framework_version = TensorFlow .LATEST_VERSION ,
68+ py_version = tests .integ .PYTHON_VERSION ,
6869 metric_definitions = [{"Name" : "train:global_steps" , "Regex" : r"global_step\/sec:\s(.*)" }],
6970 )
7071 inputs = estimator .sagemaker_session .upload_data (
@@ -98,6 +99,7 @@ def test_server_side_encryption(sagemaker_session):
9899 sagemaker_session = sagemaker_session ,
99100 script_mode = True ,
100101 framework_version = TensorFlow .LATEST_VERSION ,
102+ py_version = tests .integ .PYTHON_VERSION ,
101103 code_location = output_path ,
102104 output_path = output_path ,
103105 model_dir = "/opt/ml/model" ,
@@ -144,6 +146,7 @@ def test_mnist_async(sagemaker_session):
144146 role = ROLE ,
145147 train_instance_count = 1 ,
146148 train_instance_type = "ml.c5.4xlarge" ,
149+ py_version = tests .integ .PYTHON_VERSION ,
147150 sagemaker_session = sagemaker_session ,
148151 script_mode = True ,
149152 framework_version = TensorFlow .LATEST_VERSION ,
@@ -182,6 +185,7 @@ def test_deploy_with_input_handlers(sagemaker_session, instance_type):
182185 role = ROLE ,
183186 train_instance_count = 1 ,
184187 train_instance_type = instance_type ,
188+ py_version = tests .integ .PYTHON_VERSION ,
185189 sagemaker_session = sagemaker_session ,
186190 script_mode = True ,
187191 framework_version = TensorFlow .LATEST_VERSION ,
0 commit comments