| """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 = "10f604f88b8af5889905f60f64679d39d3ee60c1" |
| TFRT_SHA256 = "e7235c80d6852f541b3a9b582869e99a92e8e79ead595bcb9096c0456d5f9961" |
| |
| 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), |
| ], |
| ) |