From 77fb4441ab1916cdf84eb87b245f722d483bcaae Mon Sep 17 00:00:00 2001 From: William Falcon Date: Mon, 8 Jul 2019 09:45:00 -0400 Subject: [PATCH] added multi-node proc 0 ip reading --- 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 0270699c..09432324 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -91,6 +91,7 @@ class Trainer(TrainerIO): # gpus come in as a string. # if gpus = -1 then use all available devices # otherwise, split the string using commas + pdb.set_trace() if gpus is not None: if gpus == '-1': self.data_parallel_device_ids = torch.cuda.device_count()