Skip to content

Commit 5fca476

Browse files
authored
Document ddp_find_unused_parameters_true
1 parent 48c39ce commit 5fca476

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/source-fabric/api/fabric_args.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,16 @@ See also: :doc:`../fundamentals/accelerators`
3636
strategy
3737
========
3838

39-
Choose a training strategy: ``"dp"``, ``"ddp"``, ``"ddp_spawn"``, ``"xla"``, ``"deepspeed"``, ``"fsdp"````.
39+
Choose a training strategy: ``"dp"``, ``"ddp"``, ``"ddp_spawn"``, ``"ddp_find_unused_parameters_true"``, ``"xla"``, ``"deepspeed"``, ``"fsdp"``.
4040

4141
.. code-block:: python
4242
4343
# Running with the DistributedDataParallel strategy on 4 GPUs
4444
fabric = Fabric(strategy="ddp", accelerator="gpu", devices=4)
4545
46+
# Running with the DDP strategy with find unused parameters enabled on 4 GPUs
47+
fabric = Fabric(strategy="ddp_find_unused_parameters_true", accelerator="gpu", devices=4)
48+
4649
# Running with the DDP Spawn strategy using 4 CPU processes
4750
fabric = Fabric(strategy="ddp_spawn", accelerator="cpu", devices=4)
4851

0 commit comments

Comments
 (0)