aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/dist_test/server/BUILD
blob: 3aa53a5615db27fd5d3c32bbbbee68ccc7dc4f2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Description:
# TensorFlow GRPC distributed runtime server and tests

package(default_visibility = ["//visibility:private"])

licenses(["notice"])  # Apache 2.0

exports_files(["LICENSE"])

load("//tensorflow:tensorflow.bzl", "py_test")
load("//tensorflow:tensorflow.bzl", "py_binary")

py_binary(
    name = "grpc_tensorflow_server",
    srcs = [
        "grpc_tensorflow_server.py",
    ],
    srcs_version = "PY2AND3",
    visibility = ["//visibility:public"],
    deps = [
        "//tensorflow/core:protos_all_py",
        "//tensorflow/python:platform",
        "//tensorflow/python:training",
    ],
)

py_test(
    name = "parse_cluster_spec_test",
    size = "small",
    srcs = [
        "parse_cluster_spec_test.py",
    ],
    main = "parse_cluster_spec_test.py",
    srcs_version = "PY2AND3",
    deps = [
        ":grpc_tensorflow_server",
        "//tensorflow/core:protos_all_py",
        "//tensorflow/python:client_testlib",
    ],
)