From 6eb7674e18c6b175dd7bfe2599e595c38e608ee5 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Wed, 3 Jul 2019 15:24:16 -0400 Subject: [PATCH] added single node distdataparallel --- pytorch_lightning/models/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_lightning/models/trainer.py b/pytorch_lightning/models/trainer.py index e8783b57..eb4f63c1 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -293,7 +293,7 @@ class Trainer(TrainerIO): """ This is called before pickling. """ state = self.__dict__.copy() del state['cluster'] - return {} + return state def __dp_train(self, gpu_nb, proc_rank): """