Skip to content
15 changes: 14 additions & 1 deletion src/sagemaker/fw_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,20 @@
"2.6.0",
"2.6.2",
],
"pytorch": ["1.6", "1.6.0", "1.7", "1.7.1", "1.8", "1.8.0", "1.8.1", "1.9", "1.9.0", "1.9.1"],
"pytorch": [
"1.6",
"1.6.0",
"1.7",
"1.7.1",
"1.8",
"1.8.0",
"1.8.1",
"1.9",
"1.9.0",
"1.9.1",
"1.10",
"1.10.0",
],
}
SMDISTRIBUTED_SUPPORTED_STRATEGIES = ["dataparallel", "modelparallel"]

Expand Down
72 changes: 70 additions & 2 deletions src/sagemaker/image_uri_config/pytorch.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"1.6": "1.6.0",
"1.7": "1.7.1",
"1.8": "1.8.1",
"1.9": "1.9.1"
"1.9": "1.9.1",
"1.10": "1.10.0"
},
"versions": {
"0.4.0": {
Expand Down Expand Up @@ -500,6 +501,39 @@
"us-west-2": "763104351884"
},
"repository": "pytorch-inference"
},
"1.10.0": {
"py_versions": [
"py38"
],
"registries": {
"af-south-1": "626614931356",
"ap-east-1": "871362719292",
"ap-northeast-1": "763104351884",
"ap-northeast-2": "763104351884",
"ap-northeast-3": "364406365360",
"ap-south-1": "763104351884",
"ap-southeast-1": "763104351884",
"ap-southeast-2": "763104351884",
"ca-central-1": "763104351884",
"cn-north-1": "727897471807",
"cn-northwest-1": "727897471807",
"eu-central-1": "763104351884",
"eu-north-1": "763104351884",
"eu-west-1": "763104351884",
"eu-west-2": "763104351884",
"eu-west-3": "763104351884",
"eu-south-1": "692866216735",
"me-south-1": "217643126080",
"sa-east-1": "763104351884",
"us-east-1": "763104351884",
"us-east-2": "763104351884",
"us-gov-west-1": "442386744353",
"us-iso-east-1": "886529160074",
"us-west-1": "763104351884",
"us-west-2": "763104351884"
},
"repository": "pytorch-inference"
}
}
},
Expand All @@ -519,7 +553,8 @@
"1.6": "1.6.0",
"1.7": "1.7.1",
"1.8": "1.8.1",
"1.9": "1.9.1"
"1.9": "1.9.1",
"1.10": "1.10.0"
},
"versions": {
"0.4.0": {
Expand Down Expand Up @@ -957,6 +992,39 @@
"us-west-2": "763104351884"
},
"repository": "pytorch-training"
},
"1.10.0": {
"py_versions": [
"py38"
],
"registries": {
"af-south-1": "626614931356",
"ap-east-1": "871362719292",
"ap-northeast-1": "763104351884",
"ap-northeast-2": "763104351884",
"ap-northeast-3": "364406365360",
"ap-south-1": "763104351884",
"ap-southeast-1": "763104351884",
"ap-southeast-2": "763104351884",
"ca-central-1": "763104351884",
"cn-north-1": "727897471807",
"cn-northwest-1": "727897471807",
"eu-central-1": "763104351884",
"eu-north-1": "763104351884",
"eu-west-1": "763104351884",
"eu-west-2": "763104351884",
"eu-west-3": "763104351884",
"eu-south-1": "692866216735",
"me-south-1": "217643126080",
"sa-east-1": "763104351884",
"us-east-1": "763104351884",
"us-east-2": "763104351884",
"us-gov-west-1": "442386744353",
"us-iso-east-1": "886529160074",
"us-west-1": "763104351884",
"us-west-2": "763104351884"
},
"repository": "pytorch-training"
}
}
}
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_fw_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ def test_validate_smdataparallel_args_not_raises():
("ml.p3.16xlarge", "pytorch", "1.8", "py3", smdataparallel_enabled),
("ml.p3.16xlarge", "pytorch", "1.9.1", "py38", smdataparallel_enabled),
("ml.p3.16xlarge", "pytorch", "1.9", "py38", smdataparallel_enabled),
("ml.p3.16xlarge", "pytorch", "1.10", "py38", smdataparallel_enabled),
("ml.p3.16xlarge", "tensorflow", "2.4.1", "py3", smdataparallel_enabled_custom_mpi),
("ml.p3.16xlarge", "tensorflow", "2.4.1", "py37", smdataparallel_enabled_custom_mpi),
("ml.p3.16xlarge", "tensorflow", "2.5.1", "py37", smdataparallel_enabled_custom_mpi),
Expand Down