From 9f0d963e37ed8d3f76afbda7f9d8a2a9fe3222de Mon Sep 17 00:00:00 2001 From: William Falcon Date: Wed, 24 Jul 2019 15:08:59 -0400 Subject: [PATCH] added auto port find --- 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 23f426f6..2f26e915 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -403,7 +403,7 @@ class Trainer(TrainerIO): try: port = os.environ['MASTER_PORT'] except Exception as e: - port = 12910 + port = 12801 os.environ['MASTER_PORT'] = f'{port}' # check for pids