Skip to content

Commit 8ac0894

Browse files
address comments
1 parent 32318ec commit 8ac0894

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/sagemaker/fw_utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
"1.11",
123123
"1.11.0",
124124
"1.12",
125+
"1.12.0",
125126
"1.12.1",
126127
],
127128
}
@@ -133,6 +134,7 @@
133134
"1.11",
134135
"1.11.0",
135136
"1.12",
137+
"1.12.0",
136138
"1.12.1",
137139
]
138140

tests/unit/test_fw_utils.py

+3
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ def test_validate_smdataparallel_args_not_raises():
863863
("ml.p3.16xlarge", "pytorch", "1.10", "py38", smdataparallel_enabled),
864864
("ml.p3.16xlarge", "pytorch", "1.11.0", "py38", smdataparallel_enabled),
865865
("ml.p3.16xlarge", "pytorch", "1.11", "py38", smdataparallel_enabled),
866+
("ml.p3.16xlarge", "pytorch", "1.12.0", "py38", smdataparallel_enabled),
866867
("ml.p3.16xlarge", "pytorch", "1.12.1", "py38", smdataparallel_enabled),
867868
("ml.p3.16xlarge", "pytorch", "1.12", "py38", smdataparallel_enabled),
868869
("ml.p3.16xlarge", "tensorflow", "2.4.1", "py3", smdataparallel_enabled_custom_mpi),
@@ -881,6 +882,7 @@ def test_validate_smdataparallel_args_not_raises():
881882
("ml.p3.16xlarge", "pytorch", "1.9.1", "py38", smdataparallel_enabled_custom_mpi),
882883
("ml.p3.16xlarge", "pytorch", "1.10.2", "py38", smdataparallel_enabled_custom_mpi),
883884
("ml.p3.16xlarge", "pytorch", "1.11.0", "py38", smdataparallel_enabled_custom_mpi),
885+
("ml.p3.16xlarge", "pytorch", "1.12.0", "py38", smdataparallel_enabled_custom_mpi),
884886
("ml.p3.16xlarge", "pytorch", "1.12.1", "py38", smdataparallel_enabled_custom_mpi),
885887
]
886888
for instance_type, framework_name, framework_version, py_version, distribution in good_args:
@@ -916,6 +918,7 @@ def test_validate_pytorchddp_not_raises():
916918
"1.11",
917919
"1.11.0",
918920
"1.12",
921+
"1.12.0",
919922
"1.12.1",
920923
]
921924
for framework_version in pytorchddp_supported_fw_versions:

0 commit comments

Comments
 (0)