From 6683d9a0d0b5a38849a6920130cfbc693ec36d63 Mon Sep 17 00:00:00 2001 From: Chris Kennelly Date: Mon, 16 Sep 2024 13:33:13 -0700 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 675271264 --- xla/pjrt/pjrt_c_api_client.cc | 1 - xla/service/spmd/spmd_prepare.cc | 1 - 2 files changed, 2 deletions(-) diff --git a/xla/pjrt/pjrt_c_api_client.cc b/xla/pjrt/pjrt_c_api_client.cc index 112278fa73e00..7319ea3942145 100644 --- a/xla/pjrt/pjrt_c_api_client.cc +++ b/xla/pjrt/pjrt_c_api_client.cc @@ -1152,7 +1152,6 @@ PjRtCApiExecutable::GetHloModules() const { } if (program_format == ::pjrt::kMlirFormat) { - xla::HloProto hlo_proto; mlir::MLIRContext ctx; TF_ASSIGN_OR_RETURN( // NOLINT(clang-diagnostic-pre-c++20-compat) mlir::OwningOpRef module, diff --git a/xla/service/spmd/spmd_prepare.cc b/xla/service/spmd/spmd_prepare.cc index fc7bf1d1cc79e..51655b90861d4 100644 --- a/xla/service/spmd/spmd_prepare.cc +++ b/xla/service/spmd/spmd_prepare.cc @@ -55,7 +55,6 @@ absl::StatusOr ProcessScatter(HloInstruction* hlo, if (scatter->scatter_operand_count() > 1) { return false; } - ScatterDimensionNumbers scatt_dim = scatter->scatter_dimension_numbers(); HloInstruction* operand = scatter->scatter_operands()[0]; HloInstruction* indices = scatter->scatter_indices(); HloInstruction* updates = scatter->scatter_updates()[0];