mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-02 12:40:09 +08:00
added single node distdataparallel
This commit is contained in:
1 parent
5797f812ad
commit
22becf3915
1 file changed
+1
@@ -292,6 +292,7 @@ class Trainer(TrainerIO):
|
||||
def __getstate__(self):
|
||||
""" This is called before pickling. """
|
||||
state = self.__dict__.copy()
|
||||
del state['cluster']
|
||||
return {}
|
||||
|
||||
def __dp_train(self, gpu_nb, proc_rank):
|
||||
|
||||
Reference in new issue
Block a user