Why does a TF server needs to know about all other tasks/workers in the cluster?

此生再无相见时 提交于 2021-01-29 16:50:41

问题


When starting a TensorFlow server (tf.distribute.Server), you must pass a ClusterSpec which specifies all tasks/workers in the cluster.

Why? What does it use that information for?

Is this just that device names (for tf.device) can uniquely identify on what worker they run in the cluster? E.g. for with tf.device("/job:ps/task:0") or with tf.device("/job:worker/task:7")?

来源:https://stackoverflow.com/questions/62004631/why-does-a-tf-server-needs-to-know-about-all-other-tasks-workers-in-the-cluster

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!