aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/distributed_runtime/rpc
diff options
context:
space:
mode:
authorGravatar Akshay Modi <nareshmodi@google.com>2018-06-21 14:24:48 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-06-21 14:28:09 -0700
commit39a66ecbe0f195625a83f6e7ccfc4b3e987c3bf4 (patch)
treea9840f38cc73e409f344a364ebe7398f91542ae5 /tensorflow/core/distributed_runtime/rpc
parent25be72010a2e87e776814d2feb054d9ce43d7884 (diff)
Allow dynamic specification of clusters for eager remote execution.
PiperOrigin-RevId: 201586130
Diffstat (limited to 'tensorflow/core/distributed_runtime/rpc')
-rw-r--r--tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc b/tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc
index 2dd3e8678b..7a9f3c5198 100644
--- a/tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc
+++ b/tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc
@@ -269,15 +269,7 @@ Status GrpcServer::Init(
LocalMaster::Register(target(), master_impl_.get(),
config.operation_timeout_in_ms());
- // Generate a dummy worker session that is used to register the
- // Rendezvous for eager (we use Step 0 for eager).
- worker_session_ = WorkerSession::CreateWithBorrowedDeviceMgr(
- "", name_prefix,
- std::unique_ptr<WorkerCacheInterface>(
- new WorkerCacheWrapper(master_env_.worker_cache)),
- worker_env_.device_mgr, {});
- auto* r = worker_env()->rendezvous_mgr->Find(0);
- return r->Initialize(worker_session_.get());
+ return Status::OK();
}
Status GrpcServer::Init(