Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 707810663
  • Loading branch information
Google-ML-Automation committed Dec 19, 2024
1 parent 926ef6a commit 37e7fb0
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xla/python/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ cc_library(
srcs = ["inspect_sharding.cc"],
hdrs = ["inspect_sharding.h"],
deps = [
"//xla:xla_data_proto_cc",
"//xla/hlo/ir:hlo",
"//xla/service:custom_call_sharding_helper",
"//xla/service/spmd:spmd_partitioner",
Expand Down Expand Up @@ -703,6 +704,7 @@ cc_library(
"//xla/hlo/builder/lib:sorting",
"//xla/hlo/builder/lib:svd",
"//xla/pjrt:status_casters",
"//xla/service:hlo_proto_cc",
],
)

Expand Down Expand Up @@ -1021,6 +1023,9 @@ cc_library(
"@tsl//tsl/profiler/lib:profiler_interface",
"@tsl//tsl/profiler/lib:profiler_session",
"@tsl//tsl/profiler/lib:traceme",
"@tsl//tsl/profiler/protobuf:profiled_instructions_proto_cc",
"@tsl//tsl/profiler/protobuf:profiler_options_proto_cc",
"@tsl//tsl/profiler/protobuf:xplane_proto_cc",
],
)

Expand Down
2 changes: 2 additions & 0 deletions xla/python/inspect_sharding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ limitations under the License.

#include "xla/python/inspect_sharding.h"

#include <cstring>
#include <limits>
#include <memory>
#include <optional>
Expand All @@ -24,6 +25,7 @@ limitations under the License.
#include "absl/status/status.h"
#include "xla/service/custom_call_sharding_helper.h"
#include "xla/service/spmd/spmd_partitioner_util.h"
#include "xla/xla_data.pb.h"

namespace jax {

Expand Down
1 change: 1 addition & 0 deletions xla/python/inspect_sharding.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ limitations under the License.
#ifndef XLA_PYTHON_INSPECT_SHARDING_H_
#define XLA_PYTHON_INSPECT_SHARDING_H_

#include <cstddef>
#include <optional>
#include <string>

Expand Down
1 change: 1 addition & 0 deletions xla/python/jax_jit.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ limitations under the License.
#include <Python.h>

#include <cstddef>
#include <memory>
#include <optional>
#include <stdexcept>
#include <string>
Expand Down
1 change: 1 addition & 0 deletions xla/python/ops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ limitations under the License.
#include "xla/python/nb_absl_span.h" // IWYU pragma: keep
#include "xla/python/nb_helpers.h"
#include "xla/python/types.h"
#include "xla/service/hlo.pb.h"
#include "xla/xla_data.pb.h"

namespace nb = nanobind;
Expand Down
1 change: 1 addition & 0 deletions xla/python/pprof_profile_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ limitations under the License.
#include "xla/util.h"
#include "tsl/platform/logging.h"
#include "tsl/platform/protobuf.h"
#include "tsl/profiler/protobuf/profile.pb.h"

namespace xla {

Expand Down
3 changes: 3 additions & 0 deletions xla/python/profiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ limitations under the License.
#include "tsl/platform/protobuf.h" // IWYU pragma: keep
#include "tsl/profiler/lib/profiler_session.h"
#include "tsl/profiler/lib/traceme.h"
#include "tsl/profiler/protobuf/profiled_instructions.pb.h"
#include "tsl/profiler/protobuf/profiler_options.pb.h"
#include "tsl/profiler/protobuf/xplane.pb.h"

namespace xla {

Expand Down

0 comments on commit 37e7fb0

Please sign in to comment.