From 79ca5f62650ca4551cf5cde246f0408dbda6572c Mon Sep 17 00:00:00 2001 From: William Falcon Date: Mon, 8 Jul 2019 09:58:43 -0400 Subject: [PATCH] moved cuda flags inside trainer --- pytorch_lightning/models/trainer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pytorch_lightning/models/trainer.py b/pytorch_lightning/models/trainer.py index 77beb716..2b493173 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -90,7 +90,6 @@ 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 = list(range(0, torch.cuda.device_count()))