From 0f77e9a02811694f708f4f45a6b1d16d3fe9b246 Mon Sep 17 00:00:00 2001 From: David Dunleavy Date: Tue, 4 Mar 2025 10:08:09 -0800 Subject: [PATCH] Update uses of `@tsl//third_party` to `@xla//third_party` after https://github.com/tensorflow/tensorflow/commit/40998f44c0c500ce0f6e3b1658dfbc54f838a82a PiperOrigin-RevId: 733371525 --- WORKSPACE | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 46ea9d1d..3f83edd2 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -4,9 +4,7 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("//:config.bzl", "repository_configuration") repository_configuration(name = "repository_configuration") - load("@repository_configuration//:repository_config.bzl", "PROFILER_PYTHON_VERSION", "PROFILER_REQUIREMENTS_FILE") - print("Using Python Version = {}".format(PROFILER_PYTHON_VERSION)) http_archive( @@ -218,7 +216,14 @@ load("@org_tensorflow//tensorflow:workspace0.bzl", "tf_workspace0") tf_workspace0() load( - "@local_tsl//third_party/gpus/cuda/hermetic:cuda_json_init_repository.bzl", + "@local_xla//third_party/py:python_wheel.bzl", + "python_wheel_version_suffix_repository", +) + +python_wheel_version_suffix_repository(name = "tf_wheel_version_suffix") + +load( + "@local_xla//third_party/gpus/cuda/hermetic:cuda_json_init_repository.bzl", "cuda_json_init_repository", ) @@ -230,7 +235,7 @@ load( "CUDNN_REDISTRIBUTIONS", ) load( - "@local_tsl//third_party/gpus/cuda/hermetic:cuda_redist_init_repositories.bzl", + "@local_xla//third_party/gpus/cuda/hermetic:cuda_redist_init_repositories.bzl", "cuda_redist_init_repositories", "cudnn_redist_init_repository", ) @@ -244,21 +249,21 @@ cudnn_redist_init_repository( ) load( - "@local_tsl//third_party/gpus/cuda/hermetic:cuda_configure.bzl", + "@local_xla//third_party/gpus/cuda/hermetic:cuda_configure.bzl", "cuda_configure", ) cuda_configure(name = "local_config_cuda") load( - "@local_tsl//third_party/nccl/hermetic:nccl_redist_init_repository.bzl", + "@local_xla//third_party/nccl/hermetic:nccl_redist_init_repository.bzl", "nccl_redist_init_repository", ) nccl_redist_init_repository() load( - "@local_tsl//third_party/nccl/hermetic:nccl_configure.bzl", + "@local_xla//third_party/nccl/hermetic:nccl_configure.bzl", "nccl_configure", )