From 2096a0aa8431d3eae0019a7512fa557eff317ac9 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Thu, 18 Jul 2019 11:29:38 -0400 Subject: [PATCH] set dp as default backend --- pytorch_lightning/models/trainer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pytorch_lightning/models/trainer.py b/pytorch_lightning/models/trainer.py index 0c70947876..8ee004adb3 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -271,6 +271,7 @@ class Trainer(TrainerIO): if self.use_ddp: output = model(data_batch, batch_i) elif self.use_dp: + pdb.set_trace() output = model(data_batch, batch_i) output = reduce_distributed_output(output, len(self.data_parallel_device_ids))