Skip to content

Commit 24872e7

Browse files
committed
long line
1 parent f157f59 commit 24872e7

File tree

1 file changed

+3
-2
lines changed
  • src/lightning/pytorch/strategies

1 file changed

+3
-2
lines changed

src/lightning/pytorch/strategies/ddp.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,9 @@ def teardown(self) -> None:
422422
class MultiModelDDPStrategy(DDPStrategy):
423423
"""Specific strategy for training on multiple models with multiple optimizers (e.g. GAN training).
424424
425-
This strategy wraps each individual child module in :class:`~torch.nn.parallel.distributed.DistributedDataParallel` module.
426-
Ensures manual backward only updates parameters of the targeted child module, preventing cross-references between modules' parameters.
425+
This strategy wraps each individual child module in :class:`~torch.nn.parallel.distributed.DistributedDataParallel`
426+
module. Ensures manual backward only updates parameters of the targeted child module, preventing cross-references
427+
between modules' parameters.
427428
428429
"""
429430

0 commit comments

Comments
 (0)