diff --git a/pytorch_lightning/models/trainer.py b/pytorch_lightning/models/trainer.py index e45f6e8bc8..9f473afd98 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -292,7 +292,6 @@ class Trainer(TrainerIO): def __getstate__(self): """ This is called before pickling. """ state = self.__dict__.copy() - del state['namelist'] return {} def __dp_train(self, gpu_nb, proc_rank):