File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,8 @@ def test_hvd_gpu(
62
62
tmpdir ,
63
63
** kwargs ,
64
64
):
65
- if (
66
- Version (tensorflow_training_latest_version ) >= Version ("2.12" )
67
- and kwargs ["instance_type" ] == "ml.p2.xlarge"
68
- ):
69
- pytest .skip ("P2 instances have been deprecated for sagemaker jobs starting TensorFlow 2.12" )
65
+ if kwargs ["instance_type" ] == "ml.p2.xlarge" :
66
+ pytest .skip ("Instance type ml.p2.xlarge has been deprecated" )
70
67
if Version (tensorflow_training_latest_version ) >= Version ("2.13" ):
71
68
pytest .skip ("Horovod is deprecated in TensorFlow 2.13 and above" )
72
69
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ def test_hvd_gpu(
58
58
tmpdir ,
59
59
** kwargs ,
60
60
):
61
+ if kwargs ["instance_type" ] == "ml.p2.xlarge" :
62
+ pytest .skip ("Instance type ml.p2.xlarge has been deprecated" )
63
+
61
64
_create_and_fit_estimator (
62
65
mxnet_training_latest_version ,
63
66
mxnet_training_latest_py_version ,
You can’t perform that action at this time.
0 commit comments