text: """Provides the repository macro to import TFRT."""
  
  load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
  
  def repo():
      """Imports TFRT."""
  
      # Attention: tools parse and update these lines.
      TFRT_COMMIT = "6b6c095aa6de793a17f8131236d60812a02bc3d6"
      TFRT_SHA256 = "cc2e4c3eb46d6632a6e13769c2da51073563d76a3183c5f584ee0e9f5f996acf"
  
      tf_http_archive(
          name = "tf_runtime",
          sha256 = TFRT_SHA256,
          strip_prefix = "runtime-{commit}".format(commit = TFRT_COMMIT),
          urls = tf_mirror_urls("https://github.com/tensorflow/runtime/archive/{commit}.tar.gz".format(commit = TFRT_COMMIT)),
          # A patch file can be provided for atomic commits to both TF and TFRT.
          # The job that bumps the TFRT_COMMIT also resets patch_file to 'None'.
          patch_file = None,
      )
  