We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bda490 commit 23f09a6Copy full SHA for 23f09a6
src/sagemaker/pytorch/estimator.py
@@ -284,7 +284,11 @@ def __init__(
284
"distribution options together.",
285
distribution
286
)
287
- distribution = {"smdistributed": {"dataparallel": distribution["pytorchddp"]}}
+
288
+ # convert pytorchddp distribution into smdistributed distribution
289
+ distribution = distribution.copy()
290
+ distribution["smdistributed"] = {"dataparallel" : distribution["pytorchddp"]}
291
+ del distribution["pytorchddp"]
292
293
distribution = validate_distribution(
294
distribution,
0 commit comments