STT-tensorflow/tensorflow/python/tpu/client/BUILD
Michael Banfield 4166342300 Support configuring TPU software version from cloud tpu client.
PiperOrigin-RevId: 294715133
Change-Id: Iae9610a978fe5c9ba1e69407942927f9c1f0a4fc
2020-02-12 11:45:19 -08:00

55 lines
1.0 KiB
Python

# Cloud TPU Client.
load("//tensorflow:tensorflow.bzl", "tf_py_test")
package(
default_visibility = [
"//tensorflow:internal",
],
licenses = ["notice"], # Apache 2.0
)
py_library(
name = "client",
srcs = [
"client.py",
"version.py",
],
srcs_version = "PY2AND3",
deps = [
"@six_archive//:six",
],
)
py_library(
name = "client_lib",
srcs = [
"__init__.py",
],
srcs_version = "PY2AND3",
deps = [
":client",
"@six_archive//:six",
],
)
tf_py_test(
name = "client_py_test",
size = "small",
srcs = ["client_test.py"],
grpc_enabled = True,
main = "client_test.py",
python_version = "PY3",
tags = [
"no_oss_py2",
],
deps = [
":client",
"//tensorflow/python:client_testlib",
"//tensorflow/python:framework_for_generated_wrappers",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:platform_test",
"//tensorflow/python:training_server_lib",
],
)