21 lines
760 B
Python
21 lines
760 B
Python
"""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 = "51889bbcb9f018b4cd2128552381bf28f3fea52f"
|
|
TFRT_SHA256 = "5558372522ea90d6a4fc66e6c131c99ef973f74cac5caf8ca07c23c876e1ea2a"
|
|
|
|
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),
|
|
],
|
|
)
|