Skip to content

Commit 8e45151

Browse files
committed
set find unused params to False
1 parent 000cbb0 commit 8e45151

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pytorch_lightning/plugins/ddp_plugin.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ def configure_ddp(self, model, device_ids):
7373
the model wrapped in LightningDistributedDataParallel
7474
7575
"""
76-
# if unset, default `find_unused_parameters` `True`
77-
self._ddp_kwargs["find_unused_parameters"] = self._ddp_kwargs.get(
78-
"find_unused_parameters", True
79-
)
8076
model = DistributedDataParallel(
8177
module=LightningDistributedWrapper(model),
8278
device_ids=device_ids,

0 commit comments

Comments
 (0)