Skip to content

Commit

Permalink
Initialize trainer with None (#4847)
Browse files Browse the repository at this point in the history
Co-authored-by: Sean Naren <[email protected]>
Co-authored-by: chaton <[email protected]>
Co-authored-by: edenlightning <[email protected]>
  • Loading branch information
4 people authored Dec 8, 2020
1 parent aeaa6b2 commit 79ae66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/accelerators/ddp_accelerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

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)
Expand Down

0 comments on commit 79ae66d

Please sign in to comment.