@@ -202,7 +202,7 @@ def test_unsupported_cpu_instance(
202
202
).fit ()
203
203
204
204
205
- @pytest .mark .parametrize ("unsupported_gpu_instance_class" , UNSUPPORTED_GPU_INSTANCE_CLASSES )
205
+ @pytest .mark .parametrize ("unsupported_gpu_instance_class" , sorted ( UNSUPPORTED_GPU_INSTANCE_CLASSES ) )
206
206
def test_unsupported_gpu_instance (
207
207
unsupported_gpu_instance_class ,
208
208
huggingface_training_compiler_version ,
@@ -366,7 +366,7 @@ def test_unsupported_distribution(
366
366
@patch ("sagemaker.utils.create_tar_file" , MagicMock ())
367
367
@patch ("sagemaker.estimator.name_from_base" , return_value = JOB_NAME )
368
368
@patch ("time.time" , return_value = TIME )
369
- @pytest .mark .parametrize ("instance_class" , SUPPORTED_GPU_INSTANCE_CLASSES )
369
+ @pytest .mark .parametrize ("instance_class" , sorted ( SUPPORTED_GPU_INSTANCE_CLASSES ) )
370
370
def test_pytorchxla_distribution (
371
371
time ,
372
372
name_from_base ,
@@ -430,7 +430,7 @@ def test_pytorchxla_distribution(
430
430
@patch ("sagemaker.utils.create_tar_file" , MagicMock ())
431
431
@patch ("sagemaker.estimator.name_from_base" , return_value = JOB_NAME )
432
432
@patch ("time.time" , return_value = TIME )
433
- @pytest .mark .parametrize ("instance_class" , SUPPORTED_GPU_INSTANCE_CLASSES )
433
+ @pytest .mark .parametrize ("instance_class" , sorted ( SUPPORTED_GPU_INSTANCE_CLASSES ) )
434
434
def test_default_compiler_config (
435
435
time ,
436
436
name_from_base ,
0 commit comments