File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 5050
5151DEBUGGER_UNSUPPORTED_REGIONS = ("us-iso-east-1" ,)
5252SINGLE_GPU_INSTANCE_TYPES = ("ml.p2.xlarge" , "ml.p3.2xlarge" )
53- SM_DATAPARALLEL_SUPPORTED_INSTANCE_TYPES = ("ml.p3.16xlarge" , "ml.p3dn.24xlarge" , "local_gpu" )
53+ SM_DATAPARALLEL_SUPPORTED_INSTANCE_TYPES = (
54+ "ml.p3.16xlarge" ,
55+ "ml.p3dn.24xlarge" ,
56+ "ml.p4d.24xlarge" ,
57+ "local_gpu" ,
58+ )
5459SM_DATAPARALLEL_SUPPORTED_FRAMEWORK_VERSIONS = {
5560 "tensorflow" : ["2.3.0" , "2.3.1" ],
5661 "pytorch" : ["1.6.0" ],
Original file line number Diff line number Diff line change @@ -552,7 +552,7 @@ def test_validate_version_or_image_args_raises():
552552def test_validate_smdistributed_not_raises ():
553553 smdataparallel_enabled = {"smdistributed" : {"dataparallel" : {"enabled" : True }}}
554554 smdataparallel_disabled = {"smdistributed" : {"dataparallel" : {"enabled" : False }}}
555- instance_types = [ "ml.p3.16xlarge" , "ml.p3dn.24xlarge" ]
555+ instance_types = list ( fw_utils . SM_DATAPARALLEL_SUPPORTED_INSTANCE_TYPES )
556556
557557 good_args = [
558558 (smdataparallel_enabled , "custom-container" ),
You can’t perform that action at this time.
0 commit comments