Skip to content

Commit 369afe8

Browse files
author
Sirut Buasai
committed
formatting
1 parent 4de7bf6 commit 369afe8

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

src/sagemaker/fw_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"1.12.1",
139139
"1.13.1",
140140
"2.0.0",
141-
"2.0.1"
141+
"2.0.1",
142142
],
143143
}
144144

@@ -154,7 +154,7 @@
154154
"1.13.1",
155155
"2.0.0",
156156
"2.0.1",
157-
"2.1.0"
157+
"2.1.0",
158158
]
159159

160160

tests/unit/test_fw_utils.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ def test_validate_pytorchddp_not_raises():
10001000
"1.13.1",
10011001
"2.0.0",
10021002
"2.0.1",
1003-
"2.1.0"
1003+
"2.1.0",
10041004
]
10051005
for framework_version in pytorchddp_supported_fw_versions:
10061006
fw_utils.validate_pytorch_distribution(
@@ -1063,12 +1063,7 @@ def test_validate_torch_distributed_not_raises():
10631063

10641064
# Case 3: Distribution is torch_distributed enabled, supported framework and instances
10651065
torch_distributed_enabled = {"torch_distributed": {"enabled": True}}
1066-
torch_distributed_gpu_supported_fw_versions = [
1067-
"1.13.1",
1068-
"2.0.0",
1069-
"2.0.1",
1070-
"2.1.0"
1071-
]
1066+
torch_distributed_gpu_supported_fw_versions = ["1.13.1", "2.0.0", "2.0.1", "2.1.0"]
10721067
for framework_version in torch_distributed_gpu_supported_fw_versions:
10731068
fw_utils.validate_torch_distributed_distribution(
10741069
instance_type="ml.p3.8xlarge",

0 commit comments

Comments
 (0)