Update the implementation of ApexDDPPlugin to inherit from DDPStrategy instead of DDPPlugin to avoid the following deprecation.
ENV_ROOT/lib/python3.9/site-packages/pytorch_lightning/plugins/training_type/ddp.py:20: LightningDeprecationWarning: The `pl.plugins.training_type.ddp.DDPPlugin` is deprecated in v1.6 and will be removed in v1.8. Use `pl.strategies.ddp.DDPStrategy` instead.
Update the implementation of
ApexDDPPlugin
to inherit fromDDPStrategy
instead ofDDPPlugin
to avoid the following deprecation.