Initialize trainer with None (#4847)
Co-authored-by: Sean Naren <sean.narenthiran@gmail.com> Co-authored-by: chaton <thomas@grid.ai> Co-authored-by: edenlightning <66261195+edenlightning@users.noreply.github.com>
This commit is contained in:
parent
aeaa6b2d4f
commit
79ae66d026
|
@ -39,7 +39,7 @@ if HYDRA_AVAILABLE:
|
|||
|
||||
class DDPAccelerator(Accelerator):
|
||||
|
||||
def __init__(self, trainer, cluster_environment=None, ddp_plugin=None):
|
||||
def __init__(self, trainer=None, cluster_environment=None, ddp_plugin=None):
|
||||
"""
|
||||
Runs training using DDP strategy on a single machine (manually, not via cluster start)
|
||||
|
||||
|
|
Loading…
Reference in New Issue