Skip to content

Commit

Permalink
Use a random master port (no conflict) (open-mmlab#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennymckormick authored Apr 14, 2021
1 parent 9ee7129 commit d30a311
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/slurm_train.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash

export MASTER_PORT=$((12000 + $RANDOM % 20000))
set -x

PARTITION=$1
Expand Down

0 comments on commit d30a311

Please sign in to comment.