Skip to content

Commit 70e3316

Browse files
ddunlGoogle-ML-Automation
authored andcommitted
Update users of TSL headers and targets to new location in XLA
Updating: - `env.h` - `env_time.h` - `errors.h` - `file_statistics.h` - `file_system.h` - `file_system_helper.h` - `logging.h` - `macros.h` - `status.h` - `status_matchers.h` - `status_to_from_proto.h` - `statusor.h` - `test.h` - `test_benchmark.h` - `threadpool.h` - `threadpool_async_executor.h` - `threadpool_interface.h` - `threadpool_options.h` - `types.h` and associated targets. PiperOrigin-RevId: 724129744
1 parent 82f01ce commit 70e3316

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

jax_tpu_embedding/sparsecore/lib/core/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ cc_library(
2828
srcs = ["input_preprocessing_threads.cc"],
2929
hdrs = ["input_preprocessing_threads.h"],
3030
deps = [
31+
"//third_party/tensorflow/compiler/xla/tsl/platform:env",
3132
"@com_google_absl//absl/log",
3233
"@com_google_absl//absl/log:check",
3334
"@com_google_absl//absl/strings",
34-
"@tsl//tsl/platform:env",
3535
"@tsl//tsl/platform:platform_port",
3636
],
3737
)
@@ -42,8 +42,8 @@ cc_test(
4242
env = {"JAX_PLATFORMS": "cpu"},
4343
deps = [
4444
":input_preprocessing_threads",
45+
"//third_party/tensorflow/compiler/xla/tsl/platform:env",
4546
"@com_google_googletest//:gtest_main",
46-
"@tsl//tsl/platform:env",
4747
],
4848
)
4949

jax_tpu_embedding/sparsecore/lib/core/input_preprocessing_threads.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
#include "absl/log/check.h" // from @com_google_absl
2121
#include "absl/log/log.h" // from @com_google_absl
2222
#include "absl/strings/numbers.h" // from @com_google_absl
23+
#include "third_party/tensorflow/compiler/xla/tsl/platform/env.h"
24+
#include "third_party/tensorflow/compiler/xla/tsl/platform/threadpool.h"
2325
#include "tsl/platform/cpu_info.h" // from @tsl
24-
#include "tsl/platform/env.h" // from @tsl
25-
#include "tsl/platform/threadpool.h" // from @tsl
2626

2727
namespace jax_sc_embedding {
2828

jax_tpu_embedding/sparsecore/lib/core/input_preprocessing_threads.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#ifndef JAX_TPU_EMBEDDING_SPARSECORE_LIB_CORE_INPUT_PREPROCESSING_THREADS_H_
1515
#define JAX_TPU_EMBEDDING_SPARSECORE_LIB_CORE_INPUT_PREPROCESSING_THREADS_H_
1616

17-
#include "tsl/platform/threadpool.h" // from @tsl
17+
#include "third_party/tensorflow/compiler/xla/tsl/platform/threadpool.h"
1818

1919
namespace jax_sc_embedding {
2020

jax_tpu_embedding/sparsecore/lib/core/input_preprocessing_threads_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "jax_tpu_embedding/sparsecore/lib/core/input_preprocessing_threads.h"
1515

1616
#include <gtest/gtest.h>
17-
#include "tsl/platform/threadpool.h" // from @tsl
17+
#include "third_party/tensorflow/compiler/xla/tsl/platform/threadpool.h"
1818

1919
namespace jax_sc_embedding {
2020
namespace {

0 commit comments

Comments
 (0)