From 32edc6d7b78703075c733841330c12a2060bb564 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Fri, 14 Jun 2019 09:42:36 -0400 Subject: [PATCH] adding support for interrupt signals --- 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 7b545dd0c1..56b5f43adf 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -63,8 +63,8 @@ class Trainer(TrainerIO): self.lr_schedulers = [] self.amp_level = amp_level self.check_grad_nans = check_grad_nans - self.data_parallel = True self.data_parallel_device_ids = [0] + self.data_parallel = False # training state self.optimizers = None