Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 702594907
  • Loading branch information
tensorflower-gardener committed Dec 4, 2024
1 parent 0a43ad1 commit b014417
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 3 deletions.
1 change: 1 addition & 0 deletions third_party/xla/xla/python/pjrt_ifrt/pjrt_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ limitations under the License.
#include "xla/status_macros.h"
#include "xla/tsl/concurrency/ref_count.h"
#include "xla/util.h"
#include "xla/xla_data.pb.h"
#include "tsl/platform/casts.h"
#include "tsl/platform/errors.h"
#include "tsl/platform/logging.h"
Expand Down
2 changes: 2 additions & 0 deletions third_party/xla/xla/python/pjrt_ifrt/pjrt_host_callback.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ limitations under the License.

#include <string>

#include "absl/status/statusor.h"

namespace xla {
namespace ifrt {

Expand Down
1 change: 1 addition & 0 deletions third_party/xla/xla/python/pjrt_ifrt/pjrt_host_callback.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ limitations under the License.
#include <string>
#include <utility>

#include "absl/status/statusor.h"
#include "xla/pjrt/host_callback.h"
#include "xla/python/ifrt/host_callback.h"

Expand Down
3 changes: 3 additions & 0 deletions third_party/xla/xla/python/pjrt_ifrt/pjrt_memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ limitations under the License.
#ifndef XLA_PYTHON_PJRT_IFRT_PJRT_MEMORY_H_
#define XLA_PYTHON_PJRT_IFRT_PJRT_MEMORY_H_

#include <vector>

#include "absl/strings/string_view.h"
#include "absl/types/span.h"
#include "llvm/Support/ExtensibleRTTI.h"
#include "xla/pjrt/pjrt_client.h"
#include "xla/python/ifrt/memory.h"
Expand Down
1 change: 1 addition & 0 deletions third_party/xla/xla/python/pjrt_ifrt/pjrt_topology.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ limitations under the License.
#include "xla/pjrt/pjrt_device_description.h"
#include "xla/python/ifrt/attribute_map.h"
#include "xla/python/pjrt_ifrt/pjrt_attribute_map_util.h"
#include "xla/xla_data.pb.h"

namespace xla::ifrt {

Expand Down
1 change: 1 addition & 0 deletions third_party/xla/xla/python/pjrt_ifrt/pjrt_topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ limitations under the License.
#include "xla/pjrt/pjrt_device_description.h"
#include "xla/python/ifrt/attribute_map.h"
#include "xla/python/ifrt/topology.h"
#include "xla/xla_data.pb.h"

namespace xla::ifrt {

Expand Down
9 changes: 7 additions & 2 deletions third_party/xla/xla/python/pjrt_ifrt/pjrt_tuple.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@ limitations under the License.

#include "xla/python/pjrt_ifrt/pjrt_tuple.h"

#include <memory>
#include <optional>
#include <string>
#include <vector>

#include "absl/algorithm/container.h"
#include "absl/container/inlined_vector.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_join.h"
#include "absl/synchronization/mutex.h"
#include "absl/types/span.h"
#include "llvm/Support/ExtensibleRTTI.h"
#include "xla/python/ifrt/array.h"
#include "xla/python/ifrt/client.h"
Expand Down
3 changes: 3 additions & 0 deletions third_party/xla/xla/python/pjrt_ifrt/pjrt_tuple.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ limitations under the License.
#include <vector>

#include "absl/container/inlined_vector.h"
#include "absl/log/check.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/synchronization/mutex.h"
#include "absl/synchronization/notification.h"
#include "absl/types/span.h"
Expand Down
1 change: 1 addition & 0 deletions third_party/xla/xla/python/pjrt_ifrt/xla_compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ limitations under the License.
#include <utility>
#include <vector>

#include "absl/status/statusor.h"
#include "llvm/Support/ExtensibleRTTI.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/MLIRContext.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/

#include <cstdint>
#include <memory>

#include <gmock/gmock.h>
Expand Down

0 comments on commit b014417

Please sign in to comment.