Skip to content

Commit 1c428b6

Browse files
akuegelGoogle-ML-Automation
authored andcommitted
Upgrade Abseil to LTS 20260107.1
PiperOrigin-RevId: 866303896
1 parent c8c0211 commit 1c428b6

File tree

7 files changed

+17
-7
lines changed

7 files changed

+17
-7
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module(name = "xla")
44
# Bazel module dependencies
55

66
# go/keep-sorted start
7-
bazel_dep(name = "abseil-cpp", version = "20250814.1", repo_name = "com_google_absl")
7+
bazel_dep(name = "abseil-cpp", version = "20260107.1", repo_name = "com_google_absl")
88
bazel_dep(name = "abseil-py", version = "2.1.0", repo_name = "absl_py")
99
bazel_dep(name = "bazel_features", version = "1.36.0")
1010
bazel_dep(name = "bazel_skylib", version = "1.8.1")

third_party/absl/workspace.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ def repo():
77

88
# Attention: tools parse and update these lines.
99
# LINT.IfChange
10-
ABSL_COMMIT = "d38452e1ee03523a208362186fd42248ff2609f6" # LTS 20250814.1
11-
ABSL_SHA256 = "d1abe9da2003e6cbbd7619b0ced3e52047422f4f4ac6c66a9bef5d2e99fea837"
10+
ABSL_COMMIT = "255c84dadd029fd8ad25c5efb5933e47beaa00c7" # LTS 20260107.1
11+
ABSL_SHA256 = "87e91fb785a2d0233f4599317afd576b7736e6732d557bdcdfdc11990bd333ef"
1212
# LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/abseil-cpp.cmake)
1313

1414
tf_http_archive(

xla/debug_options_flags.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ DebugOptions DefaultDebugOptionsIgnoringFlags() {
408408

409409
opts.set_xla_gpu_nccl_terminate_on_error(false);
410410

411-
opts.set_xla_gpu_shard_autotuning(true);
411+
opts.set_xla_gpu_shard_autotuning(false);
412412

413413
opts.set_xla_syntax_sugar_async_ops(false);
414414

xla/pjrt/gpu/tfrt/tfrt_gpu_client.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,7 @@ TfrtGpuClient::LoadInternal(
774774
std::move(hlo_module_proto),
775775
compile_options.executable_build_options.debug_options());
776776
}
777+
LOG(ERROR) << "Returning Executable";
777778
return std::unique_ptr<PjRtLoadedExecutable>(std::move(executable));
778779
}
779780

@@ -785,7 +786,7 @@ absl::StatusOr<std::unique_ptr<PjRtLoadedExecutable>> TfrtGpuClient::Load(
785786
CompileOptions compile_options = se_executable->compile_options();
786787

787788
tsl::profiler::TraceMe traceme("TfrtGpuClient::Load");
788-
VLOG(1) << "TfrtGpuClient::Load";
789+
LOG(ERROR) << "TfrtGpuClient::Load";
789790

790791
TF_ASSIGN_OR_RETURN(auto local_executable, se_executable->ConsumeExecutable(
791792
xla_client_, compile_options));

xla/pjrt/pjrt_stream_executor_client.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2295,7 +2295,7 @@ PjRtStreamExecutorClient::CompileInternal(
22952295
LayoutCanonicalizationCallback layout_canonicalization_callback,
22962296
CompileOptions options, bool lookup_addressable_devices) {
22972297
tsl::profiler::TraceMe traceme("PjRtStreamExecutorClient::CompileInternal");
2298-
VLOG(1) << "PjRtStreamExecutorClient::CompileInternal";
2298+
LOG(ERROR) << "PjRtStreamExecutorClient::CompileInternal";
22992299
if (key_value_store().has_value() &&
23002300
!options.executable_build_options.key_value_store()) {
23012301
options.executable_build_options.set_key_value_store(*key_value_store());
@@ -2331,6 +2331,7 @@ PjRtStreamExecutorClient::CompileInternal(
23312331
return Unimplemented("Multiple executables are not supported");
23322332
}
23332333

2334+
LOG(ERROR) << "Returning executable";
23342335
return BuildPjRtExecutable(xla_dump_hlo_unoptimized_snapshots
23352336
? std::make_optional(computation.proto())
23362337
: std::nullopt,
@@ -2708,6 +2709,7 @@ PjRtStreamExecutorClient::LoadInternal(
27082709
std::move(*unoptimized_hlo_module_proto),
27092710
compile_options.executable_build_options.debug_options());
27102711
}
2712+
LOG(ERROR) << "Returning loaded executable";
27112713
return std::unique_ptr<PjRtLoadedExecutable>(std::move(executable));
27122714
}
27132715

@@ -2719,7 +2721,7 @@ PjRtStreamExecutorClient::Load(std::unique_ptr<PjRtExecutable> executable,
27192721
CompileOptions compile_options = se_executable->compile_options();
27202722

27212723
tsl::profiler::TraceMe traceme("PjRtStreamExecutorClient::Load");
2722-
VLOG(1) << "PjRtStreamExecutorClient::Load";
2724+
LOG(ERROR) << "PjRtStreamExecutorClient::Load";
27232725

27242726
TF_ASSIGN_OR_RETURN(auto local_executable, se_executable->ConsumeExecutable(
27252727
client(), compile_options));

xla/python/pjrt_ifrt/pjrt_executable.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,10 +758,12 @@ absl::StatusOr<LoadedExecutableRef> PjRtLoadedExecutable::Create(
758758
TF_ASSIGN_OR_RETURN(const std::vector<xla::LayoutMode> output_layout_modes,
759759
GetOutputLayoutModes(module));
760760

761+
LOG(ERROR) << "Calling Client CompileAndLoad";
761762
TF_ASSIGN_OR_RETURN(
762763
std::shared_ptr<xla::PjRtLoadedExecutable> pjrt_loaded_executable,
763764
client->pjrt_client()->CompileAndLoad(std::move(module),
764765
std::move(compile_options)));
766+
LOG(ERROR) << "Client CompileAndLoad finished";
765767

766768
TF_ASSIGN_OR_RETURN(
767769
executable_devices,

xla/service/compilation_stats.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,14 @@ void Stats::CompilationReport() {
132132
});
133133
LOG(INFO) << "Total runtime (ms) of HLO passes: " << total_duration;
134134
LOG(INFO) << "Pass name, num runs, time (ms)";
135+
int64_t print_counter = 0;
135136
for (auto& pass_info : sorted_summary) {
136137
LOG(INFO) << pass_info.name << ", " << pass_info.num_runs << ", "
137138
<< pass_info.duration_ms;
139+
++print_counter;
140+
if (print_counter > 2) {
141+
break;
142+
}
138143
}
139144
}
140145

0 commit comments

Comments
 (0)