From 00986d48bb646daab659503ad3a713919865f32d Mon Sep 17 00:00:00 2001 From: Derek Murray Date: Thu, 25 Feb 2016 20:10:09 -0800 Subject: Initial version of the open-source distributed TensorFlow runtime. This includes a gRPC server (grpc_tensorflow_server) that can serve as both the master of a distributed TensorFlow computation, and an individual worker in the computation. The GrpcSession class is included to allow client programs (including Python clients) to interact with a server. See tensorflow/core/distributed_runtime/README.md for usage instructions. This change partially addresses issue #23. Change: 115634191 --- WORKSPACE | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'WORKSPACE') diff --git a/WORKSPACE b/WORKSPACE index 2e1b018e14..26bfa1f15f 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -15,6 +15,37 @@ load("//tensorflow:workspace.bzl", "tf_workspace") tf_workspace() +# grpc expects //external:protobuf_clib and //external:protobuf_compiler +# to point to the protobuf's compiler library. +bind( + name = "protobuf_clib", + actual = "//google/protobuf:protoc_lib", +) + +bind( + name = "protobuf_compiler", + actual = "//google/protobuf:protoc_lib", +) + +git_repository( + name = "grpc", + commit = "73979f4", + init_submodules = True, + remote = "https://github.com/grpc/grpc.git", +) + +# protobuf expects //external:grpc_cpp_plugin to point to grpc's +# C++ plugin code generator. +bind( + name = "grpc_cpp_plugin", + actual = "@grpc//:grpc_cpp_plugin", +) + +bind( + name = "grpc_lib", + actual = "@grpc//:grpc++_unsecure", +) + # TENSORBOARD_BOWER_AUTOGENERATED_BELOW_THIS_LINE_DO_NOT_EDIT new_git_repository( -- cgit v1.2.3