From 8451bb77450531d9068e0cb760d5b929138beb11 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Fri, 12 Jul 2019 15:25:34 -0400 Subject: [PATCH] fixed nccl init --- 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 efadd37f..725ac147 100644 --- a/pytorch_lightning/models/trainer.py +++ b/pytorch_lightning/models/trainer.py @@ -367,7 +367,7 @@ class Trainer(TrainerIO): # continue training routine self.__run_pretrain_routine(model) - def __init_tcp_connection(self, port=12975, tries=0): + def __init_tcp_connection(self, port=12975): """ Connect all procs in the world using the env:// init Use the first node as the root address