Disabling find_unused_parameters

When trying to disable find_unused_parameters in the trainer by doing the following,

strategy=DDPStrategy(find_unused_parameters=False)

Am being thrown an import error for from pytorch_lightning.strategies import DDPStrategy

Error:

No module named 'pytorch_lightning.strategies'

hey @RahulVigneswaran

you must be looking at the latest docs but might be using the latest release which doesn’t have these changes yet. The new release will be made in march this year where all of these plugins are moved to strategies. For release version you can check out the stable docs:

Also, we have moved the discussions to GitHub Discussions. You might want to check that out instead to get a quick response. The forums will be marked read-only soon.

Thank you