mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-11 12:31:23 +08:00
added auto port find
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user