aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorGravatar Derek Murray <mrry@google.com>2016-02-25 20:10:09 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-02-25 20:15:52 -0800
commit00986d48bb646daab659503ad3a713919865f32d (patch)
tree3179208eda8426b346db591f7d98fd836a20f384 /WORKSPACE
parentd27da251bcc4bab7da2f5aecc509b146f9fa1692 (diff)
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
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE31
1 files changed, 31 insertions, 0 deletions
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(