Skip to content

Commit 4b86475

Browse files
viclzhubhupendrasingh
authored andcommitted
fix: fix formatting
1 parent 00d310e commit 4b86475

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sagemaker/estimator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3851,7 +3851,9 @@ def _distribution_configuration(self, distribution):
38513851
# first make sure torch_distributed is enabled if instance type is p5
38523852
torch_distributed_enabled = False
38533853
if "torch_distributed" in distribution:
3854-
torch_distributed_enabled = distribution.get("torch_distributed").get("enabled", False)
3854+
torch_distributed_enabled = distribution.get("torch_distributed").get(
3855+
"enabled", False
3856+
)
38553857
smdistributed = distribution["smdistributed"]
38563858
smdataparallel_enabled = smdistributed.get("dataparallel", {}).get("enabled", False)
38573859
p5_enabled = "p5.48xlarge" in self.instance_type

0 commit comments

Comments
 (0)