From 7d08e52b5d1f7324b692b70036d9ce3527a4db2e Mon Sep 17 00:00:00 2001 From: William Falcon Date: Mon, 8 Jul 2019 09:30:51 -0400 Subject: [PATCH] easy import for lightningModule --- pytorch_lightning/models/trainer.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pytorch_lightning/models/trainer.py b/pytorch_lightning/models/trainer.py index de111568..30713b6c 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -332,8 +332,6 @@ class Trainer(TrainerIO): print(ip_file_dir) ip_file = os.path.join(ip_file_dir, '.ip_meta') if proc_rank == 0: - os.makedirs(ip_file, exist_ok=True) - # get the proc 0 IP root_ip = subprocess.run(['hostname', '-I'], stdout=subprocess.PIPE).stdout.decode('utf-8') root_ip = root_ip.split(' ')[0]