blob: 406127c179a3864586a02f228dde499c4540bd1c [file] [log] [blame]
"""Provides the repository macro to import TFRT."""
load("//third_party:repo.bzl", "tf_http_archive")
def repo():
"""Imports TFRT."""
# Attention: tools parse and update these lines.
TFRT_COMMIT = "77cdcab80d2a97c489c7e2832f98bc23736a5dd3"
TFRT_SHA256 = "de74a704e6f8d4db164021ea8c4edcbf938027732b6fc470f36f89fd79db4c9c"
tf_http_archive(
name = "tf_runtime",
sha256 = TFRT_SHA256,
strip_prefix = "runtime-{commit}".format(commit = TFRT_COMMIT),
urls = [
"http://mirror.tensorflow.org/github.com/tensorflow/runtime/archive/{commit}.tar.gz".format(commit = TFRT_COMMIT),
"https://github.com/tensorflow/runtime/archive/{commit}.tar.gz".format(commit = TFRT_COMMIT),
],
)