When device filters are set for remote workers, they will only have access to cluster devices that match the filters. If we need to update the cluster, send complete update request to workers that match the device filters, and only send simplified view ID increment request to other workers. PiperOrigin-RevId: 292240301 Change-Id: Icb221c65231a248369f4a341f954b365eb1a42a9
52 lines
1015 B
Plaintext
52 lines
1015 B
Plaintext
path: "tensorflow.train.ServerDef"
|
|
tf_proto {
|
|
descriptor {
|
|
name: "ServerDef"
|
|
field {
|
|
name: "cluster"
|
|
number: 1
|
|
label: LABEL_OPTIONAL
|
|
type: TYPE_MESSAGE
|
|
type_name: ".tensorflow.ClusterDef"
|
|
}
|
|
field {
|
|
name: "job_name"
|
|
number: 2
|
|
label: LABEL_OPTIONAL
|
|
type: TYPE_STRING
|
|
}
|
|
field {
|
|
name: "task_index"
|
|
number: 3
|
|
label: LABEL_OPTIONAL
|
|
type: TYPE_INT32
|
|
}
|
|
field {
|
|
name: "default_session_config"
|
|
number: 4
|
|
label: LABEL_OPTIONAL
|
|
type: TYPE_MESSAGE
|
|
type_name: ".tensorflow.ConfigProto"
|
|
}
|
|
field {
|
|
name: "protocol"
|
|
number: 5
|
|
label: LABEL_OPTIONAL
|
|
type: TYPE_STRING
|
|
}
|
|
field {
|
|
name: "port"
|
|
number: 6
|
|
label: LABEL_OPTIONAL
|
|
type: TYPE_INT32
|
|
}
|
|
field {
|
|
name: "cluster_device_filters"
|
|
number: 7
|
|
label: LABEL_OPTIONAL
|
|
type: TYPE_MESSAGE
|
|
type_name: ".tensorflow.ClusterDeviceFilters"
|
|
}
|
|
}
|
|
}
|