Skip to content

Commit efae525

Browse files
author
Sergey Togulev
committed
feature: add support for PyTorch 1.8.1
1 parent 5af52b8 commit efae525

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/sagemaker/fw_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
)
6161
SM_DATAPARALLEL_SUPPORTED_FRAMEWORK_VERSIONS = {
6262
"tensorflow": ["2.3", "2.3.1", "2.3.2", "2.4", "2.4.1"],
63-
"pytorch": ["1.6", "1.6.0", "1.7", "1.7.1", "1.8", "1.8.0"],
63+
"pytorch": ["1.6", "1.6.0", "1.7", "1.7.1", "1.8", "1.8.1"],
6464
}
6565
SMDISTRIBUTED_SUPPORTED_STRATEGIES = ["dataparallel", "modelparallel"]
6666

src/sagemaker/image_uri_config/pytorch.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"1.5": "1.5.0",
5757
"1.6": "1.6.0",
5858
"1.7": "1.7.1",
59-
"1.8": "1.8.0"
59+
"1.8": "1.8.1"
6060
},
6161
"versions": {
6262
"0.4.0": {
@@ -354,7 +354,7 @@
354354
},
355355
"repository": "pytorch-inference"
356356
},
357-
"1.8.0": {
357+
"1.8.1": {
358358
"py_versions": [
359359
"py3",
360360
"py36"
@@ -404,7 +404,7 @@
404404
"1.5": "1.5.0",
405405
"1.6": "1.6.0",
406406
"1.7": "1.7.1",
407-
"1.8": "1.8.0"
407+
"1.8": "1.8.1"
408408
},
409409
"versions": {
410410
"0.4.0": {
@@ -703,7 +703,7 @@
703703
},
704704
"repository": "pytorch-training"
705705
},
706-
"1.8.0": {
706+
"1.8.1": {
707707
"py_versions": [
708708
"py3",
709709
"py36"

tests/unit/test_fw_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def test_validate_smdataparallel_args_not_raises():
641641
("ml.p3.16xlarge", "pytorch", "1.6", "py3", smdataparallel_enabled),
642642
("ml.p3.16xlarge", "pytorch", "1.7.1", "py3", smdataparallel_enabled),
643643
("ml.p3.16xlarge", "pytorch", "1.7", "py3", smdataparallel_enabled),
644-
("ml.p3.16xlarge", "pytorch", "1.8.0", "py3", smdataparallel_enabled),
644+
("ml.p3.16xlarge", "pytorch", "1.8.1", "py3", smdataparallel_enabled),
645645
("ml.p3.16xlarge", "pytorch", "1.8", "py3", smdataparallel_enabled),
646646
]
647647
for instance_type, framework_name, framework_version, py_version, distribution in good_args:

0 commit comments

Comments
 (0)