Skip to content

Commit 22d4102

Browse files
Automated Code Change
PiperOrigin-RevId: 702255534
1 parent 50098e0 commit 22d4102

File tree

8 files changed

+8
-1
lines changed

8 files changed

+8
-1
lines changed

xla/python/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,7 @@ cc_library(
972972
"//xla/pjrt/c:pjrt_c_api_profiler_extension_hdrs",
973973
"@tsl//tsl/profiler/lib:profiler_factory",
974974
"@tsl//tsl/profiler/lib:profiler_interface",
975+
"@tsl//tsl/profiler/protobuf:profiler_options_proto_cc",
975976
],
976977
)
977978

@@ -1127,6 +1128,7 @@ cc_library(
11271128
"//xla/hlo/transforms:flatten_call_graph",
11281129
"//xla/hlo/transforms:hlo_dce",
11291130
"//xla/hlo/transforms:tuple_simplifier",
1131+
"//xla/pjrt:compile_options_proto_cc",
11301132
"//xla/pjrt:exceptions",
11311133
"//xla/pjrt:pjrt_executable",
11321134
"//xla/pjrt:status_casters",

xla/python/profiler_utils.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ limitations under the License.
2626
#include "xla/pjrt/c/pjrt_c_api_profiler_extension.h"
2727
#include "tsl/profiler/lib/profiler_factory.h"
2828
#include "tsl/profiler/lib/profiler_interface.h"
29+
#include "tsl/profiler/protobuf/profiler_options.pb.h"
2930

3031
namespace xla {
3132

xla/python/py_compile_only_client.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ limitations under the License.
7474
#include "xla/tsl/concurrency/ref_count.h"
7575
#include "xla/tsl/python/lib/core/numpy.h"
7676
#include "xla/util.h"
77+
#include "xla/xla_data.pb.h"
7778
#include "tsl/platform/errors.h"
7879
#include "tsl/platform/logging.h"
7980
#include "tsl/platform/statusor.h"

xla/python/python_ref_manager.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ limitations under the License.
1919
#include <deque>
2020
#include <memory>
2121
#include <utility>
22-
#include <vector>
2322

2423
#include "absl/container/inlined_vector.h"
2524
#include "absl/synchronization/mutex.h"

xla/python/refine_polymorphic_shapes.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ limitations under the License.
1414
==============================================================================*/
1515
#include "xla/python/refine_polymorphic_shapes.h"
1616

17+
#include <cstdint>
1718
#include <memory>
1819
#include <string>
1920

xla/python/types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ limitations under the License.
2525

2626
#include "absl/container/inlined_vector.h"
2727
#include "absl/status/status.h"
28+
#include "absl/status/statusor.h"
2829
#include "absl/types/span.h"
2930
#include "nanobind/nanobind.h"
3031
#include "xla/layout.h"

xla/python/xla_compiler.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ limitations under the License.
6363
#include "xla/layout.h"
6464
#include "xla/layout_util.h"
6565
#include "xla/literal.h"
66+
#include "xla/pjrt/compile_options.pb.h"
6667
#include "xla/pjrt/exceptions.h"
6768
#include "xla/pjrt/pjrt_executable.h"
6869
#include "xla/pjrt/status_casters.h"

xla/python/xplane_to_profile_instructions.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ limitations under the License.
3838
#include "xla/xla.pb.h"
3939
#include "tsl/platform/env.h"
4040
#include "tsl/platform/types.h"
41+
#include "tsl/profiler/protobuf/profiled_instructions.pb.h"
4142
#include "tsl/profiler/protobuf/xplane.pb.h"
4243

4344
namespace xla {

0 commit comments

Comments
 (0)