aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/distributed_runtime
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-07-25 06:56:58 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-25 07:00:00 -0700
commit35591516feb0d4500aae29b7db31f542dd2fc0c2 (patch)
treeb999b16de66e7d805806f9b3a63771981056b453 /tensorflow/core/distributed_runtime
parent2952ff32b21332e9a01cd522bc6e38fd7af55ce6 (diff)
In grpc_server_lib.cc initialize master_env_.collective_executor_mgr
from the worker_env_ value. PiperOrigin-RevId: 205987011
Diffstat (limited to 'tensorflow/core/distributed_runtime')
-rw-r--r--tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc b/tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc
index db14f6473e..8a6903be9e 100644
--- a/tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc
+++ b/tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc
@@ -244,6 +244,7 @@ Status GrpcServer::Init(
// Finish setting up master environment.
master_env_.ops = OpRegistry::Global();
master_env_.worker_cache = worker_cache;
+ master_env_.collective_executor_mgr = worker_env_.collective_executor_mgr;
master_env_.master_session_factory =
[config, stats_factory](
SessionOptions options, const MasterEnv* env,