added single node distdataparallel

This commit is contained in:
William Falcon 2019-07-03 15:23:39 -04:00
parent 5797f812ad
commit 22becf3915
1 changed files with 1 additions and 0 deletions

View File

@ -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):