File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,7 @@ def test_hvd_gpu(
64
64
Version (tensorflow_training_latest_version ) >= Version ("2.12" )
65
65
and kwargs ["instance_type" ] == "ml.p2.xlarge"
66
66
):
67
- pytest .skip (
68
- "P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12"
69
- )
67
+ pytest .skip ("P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12" )
70
68
71
69
_create_and_fit_estimator (
72
70
sagemaker_session ,
Original file line number Diff line number Diff line change @@ -61,9 +61,7 @@ def test_framework_processing_job_with_deps(
61
61
Version (tensorflow_training_latest_version ) >= Version ("2.12" )
62
62
and kwargs ["instance_type" ] == "ml.p2.xlarge"
63
63
):
64
- pytest .skip (
65
- "P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12"
66
- )
64
+ pytest .skip ("P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12" )
67
65
68
66
with timeout .timeout (minutes = TRAINING_DEFAULT_TIMEOUT_MINUTES ):
69
67
code_path = os .path .join (DATA_DIR , "dummy_code_bundle_with_reqs" )
@@ -200,9 +198,7 @@ def test_mwms_gpu(
200
198
Version (tensorflow_training_latest_version ) >= Version ("2.12" )
201
199
and kwargs ["instance_type" ] == "ml.p2.xlarge"
202
200
):
203
- pytest .skip (
204
- "P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12"
205
- )
201
+ pytest .skip ("P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12" )
206
202
207
203
instance_count = 2
208
204
estimator = TensorFlow (
@@ -264,9 +260,7 @@ def test_mnist_distributed_gpu(
264
260
Version (tensorflow_training_latest_version ) >= Version ("2.12" )
265
261
and kwargs ["instance_type" ] == "ml.p2.xlarge"
266
262
):
267
- pytest .skip (
268
- "P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12"
269
- )
263
+ pytest .skip ("P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12" )
270
264
271
265
_create_and_fit_estimator (
272
266
sagemaker_session ,
You can’t perform that action at this time.
0 commit comments