File tree 2 files changed +9
-3
lines changed
src/sagemaker/image_uri_config
tests/unit/sagemaker/image_uris
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 344
344
"0.3" : " 0.3.2" ,
345
345
"0.4" : " 0.4.3" ,
346
346
"0.5" : " 0.5.2" ,
347
- "0.6" : " 0.6.2"
347
+ "0.6" : " 0.6.2" ,
348
+ "0.7" : " 0.7.0"
348
349
},
349
350
"versions" : {
350
351
"0.3.1" : {
659
660
"processors" : [" cpu" , " gpu" ],
660
661
"py_versions" : [" py38" ]
661
662
},
662
- "0.6.2 " : {
663
+ "0.7.0 " : {
663
664
"registries" : {
664
665
"af-south-1" : " 626614931356" ,
665
666
"ap-east-1" : " 871362719292" ,
Original file line number Diff line number Diff line change 70
70
@pytest .mark .parametrize ("processor" , PROCESSORS )
71
71
def test_valid_uris_training (version , scope , processor ):
72
72
instance_type = "ml.c4.xlarge" if processor == "cpu" else "ml.p2.xlarge"
73
- py_version = "py37" if version == "0.3.1" else "py38"
73
+ if version == "0.3.1" :
74
+ py_version = "py37"
75
+ elif version < "0.7" :
76
+ py_version = "py38"
77
+ else :
78
+ py_version = "py39"
74
79
if (
75
80
scope == "inference"
76
81
and processor == "gpu"
You can’t perform that action at this time.
0 commit comments