File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 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(
6262 tmpdir ,
6363 ** kwargs ,
6464):
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" )
7067 if Version (tensorflow_training_latest_version ) >= Version ("2.13" ):
7168 pytest .skip ("Horovod is deprecated in TensorFlow 2.13 and above" )
7269
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ def test_hvd_gpu(
5858 tmpdir ,
5959 ** kwargs ,
6060):
61+ if kwargs ["instance_type" ] == "ml.p2.xlarge" :
62+ pytest .skip ("Instance type ml.p2.xlarge has been deprecated" )
63+
6164 _create_and_fit_estimator (
6265 mxnet_training_latest_version ,
6366 mxnet_training_latest_py_version ,
You can’t perform that action at this time.
0 commit comments