tensorflow/third_party/xla/workspace4.bzl
David Dunleavy 0820557105 Create repo_mapping so that tf_runtime can refer to XLA and TSL differently from TF
Right now this is a noop, but this enables a future change to move tf_runtime to refer to XLA as `@xla` rather than `@local_xla`, and similar for TSL.

PiperOrigin-RevId: 625763425
2024-04-17 12:32:52 -07:00

14 lines
472 B
Python

"""TensorFlow workspace initialization. Consult the WORKSPACE on how to use it."""
load("//third_party:repo.bzl", "tf_vendored")
# buildifier: disable=function-docstring
# buildifier: disable=unnamed-macro
def workspace():
# Declares @tsl
tf_vendored(name = "tsl", relpath = "third_party/tsl")
# Alias so it can be loaded without assigning to a different symbol to prevent
# shadowing previous loads and trigger a buildifier warning.
xla_workspace4 = workspace