New worker hosts

master
Jeff Moe 2022-08-17 10:15:57 -06:00
parent 8aee0ac624
commit fb236fcf30
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
HOSTNUM=`hostname | sed -e 's/ml//g'`
let HOSTNUM=$HOSTNUM-1
export TF_CONFIG='{"cluster": {"worker": [ "ml1-int:2222", "ml2-int:2222", "ml3-int:2222", "ml4-int:2222", "ml5-int:2222"]}, "task": {"index": '$HOSTNUM', "type": "worker"}}'
export TF_CONFIG='{"cluster": {"worker": [ "rs-ml1:23009", "rs-ml2:23009", "rs-ml3:23009", "rs-ml4:23009", "rs-ml5:23009", "rs-ml6:23009", "rs-ml7:23009", "rs-ml8:23009", "rs-ml9:23009", "rs-ml10:23009"]}, "task": {"index": '$HOSTNUM', "type": "worker"}}'
echo $TF_CONFIG
python3 wut-worker.py