From a9ca577debd163e2eb7a0ef40065d1e3a66a1133 Mon Sep 17 00:00:00 2001 From: xla authors Date: Fri, 14 Feb 2025 00:02:02 -0800 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 726798360 --- xla/tools/multihost_hlo_runner/BUILD | 2 ++ xla/tools/multihost_hlo_runner/functional_hlo_runner.cc | 2 ++ xla/tools/multihost_hlo_runner/hlo_runner_main.cc | 1 + 3 files changed, 5 insertions(+) diff --git a/xla/tools/multihost_hlo_runner/BUILD b/xla/tools/multihost_hlo_runner/BUILD index 80e6c6f8db975..c2007bbbf69fa 100644 --- a/xla/tools/multihost_hlo_runner/BUILD +++ b/xla/tools/multihost_hlo_runner/BUILD @@ -37,6 +37,7 @@ cc_library( ":functional_hlo_runner", "//xla:debug_options_flags", "//xla:status_macros", + "//xla:xla_data_proto_cc", "//xla/pjrt:pjrt_client", "//xla/pjrt/distributed", "//xla/pjrt/distributed:client", @@ -188,6 +189,7 @@ cc_library( "@tsl//tsl/profiler/lib:profiler_factory_impl", "@tsl//tsl/profiler/lib:profiler_session", "@tsl//tsl/profiler/lib:profiler_session_impl", + "@tsl//tsl/profiler/protobuf:profiler_options_proto_cc", "@tsl//tsl/profiler/protobuf:xplane_proto_cc", ], ) diff --git a/xla/tools/multihost_hlo_runner/functional_hlo_runner.cc b/xla/tools/multihost_hlo_runner/functional_hlo_runner.cc index 245976e9111e1..3b1f0c17cfafe 100644 --- a/xla/tools/multihost_hlo_runner/functional_hlo_runner.cc +++ b/xla/tools/multihost_hlo_runner/functional_hlo_runner.cc @@ -75,6 +75,8 @@ limitations under the License. #include "xla/xla.pb.h" #include "xla/xla_data.pb.h" #include "tsl/profiler/lib/profiler_session.h" +#include "tsl/profiler/protobuf/profiler_options.pb.h" +#include "tsl/profiler/protobuf/xplane.pb.h" namespace xla { diff --git a/xla/tools/multihost_hlo_runner/hlo_runner_main.cc b/xla/tools/multihost_hlo_runner/hlo_runner_main.cc index 7e99400226d9c..accc2bb1ba579 100644 --- a/xla/tools/multihost_hlo_runner/hlo_runner_main.cc +++ b/xla/tools/multihost_hlo_runner/hlo_runner_main.cc @@ -36,6 +36,7 @@ limitations under the License. #include "xla/tools/multihost_hlo_runner/functional_hlo_runner.h" #include "xla/tsl/platform/statusor.h" #include "xla/tsl/util/command_line_flags.h" +#include "xla/xla_data.pb.h" #include "tsl/platform/errors.h" #include "tsl/platform/init_main.h" #include "tsl/platform/logging.h"