Skip to content

Commit 9ceac50

Browse files
authored
Fix formatting (#2808)
1 parent 361c4c7 commit 9ceac50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes_source/recipes/tuning_guide.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def fused_gelu(x):
464464
# perform the required gradient all-reduce.
465465

466466
###############################################################################
467-
# Match the order of layers in constructors and during the execution if using ``DistributedDataParallel``(find_unused_parameters=True)
467+
# Match the order of layers in constructors and during the execution if using ``DistributedDataParallel(find_unused_parameters=True)``
468468
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
469469
# `torch.nn.parallel.DistributedDataParallel <https://pytorch.org/docs/stable/generated/torch.nn.parallel.DistributedDataParallel.html#torch.nn.parallel.DistributedDataParallel>`_
470470
# with ``find_unused_parameters=True`` uses the order of layers and parameters

0 commit comments

Comments
 (0)