From 7010d16752a42f654cc4b28c519108f28e205231 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Wed, 3 Jul 2019 16:31:43 -0400 Subject: [PATCH] added single node distdataparallel --- pytorch_lightning/models/trainer.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pytorch_lightning/models/trainer.py b/pytorch_lightning/models/trainer.py index 8130fc1c..dab2815a 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -285,12 +285,6 @@ class Trainer(TrainerIO): else: self.__run_pretrain_routine(model) - def __getstate__(self): - """ This is called before pickling. """ - state = self.__dict__.copy() - # del state['experiment'] - return state - def dp_train(self, gpu_nb, proc_rank, model): """ Entry point into a DP thread