Skip to content

Commit

Permalink
[HLO Componentization] Create hlo/builder sub-component (Phase II).
Browse files Browse the repository at this point in the history
This CL takes care of
1. Migrating external projects dependencies from  xla/client --> xla/hlo/builder

Phase I takes care of
1. Migrating xla/translate --> xla/hlo/translate
2. Setting up build aliases in xla/translate ensuring external dependencies are still satisfied.

PiperOrigin-RevId: 680744569
  • Loading branch information
sdasgup3 authored and copybara-github committed Oct 7, 2024
1 parent 7ee3768 commit 54ca4ab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions tensorflow_federated/cc/core/impl/executors/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ cc_library(
"@org_tensorflow//tensorflow/compiler/xla:xla_proto_cc",
"@org_tensorflow//tensorflow/compiler/xla/client",
"@org_tensorflow//tensorflow/compiler/xla/client:client_library",
"@org_tensorflow//tensorflow/compiler/xla/client:xla_computation",
"@org_tensorflow//tensorflow/compiler/xla/hlo/builder:xla_computation",
"@org_tensorflow//tensorflow/compiler/xla/service",
"@org_tensorflow//tensorflow/compiler/xla/service:hlo_proto_cc",
"@org_tensorflow//tensorflow/compiler/xla/stream_executor",
Expand Down Expand Up @@ -1187,8 +1187,8 @@ tff_cc_cpu_gpu_test(
"@org_tensorflow//tensorflow/compiler/tf2xla:common",
"@org_tensorflow//tensorflow/compiler/xla:shape_util",
"@org_tensorflow//tensorflow/compiler/xla:xla_data_proto_cc",
"@org_tensorflow//tensorflow/compiler/xla/client:xla_builder",
"@org_tensorflow//tensorflow/compiler/xla/client:xla_computation",
"@org_tensorflow//tensorflow/compiler/xla/hlo/builder:xla_builder",
"@org_tensorflow//tensorflow/compiler/xla/hlo/builder:xla_computation",
"@org_tensorflow//tensorflow/compiler/xla/service:platform_util",
"@org_tensorflow//tensorflow/compiler/xla/stream_executor",
"@org_tensorflow//tensorflow/core:framework",
Expand Down Expand Up @@ -1225,8 +1225,8 @@ cc_test(
"@org_tensorflow//tensorflow/compiler/tf2xla:common",
"@org_tensorflow//tensorflow/compiler/xla:shape_util",
"@org_tensorflow//tensorflow/compiler/xla:xla_data_proto_cc",
"@org_tensorflow//tensorflow/compiler/xla/client:xla_builder",
"@org_tensorflow//tensorflow/compiler/xla/client:xla_computation",
"@org_tensorflow//tensorflow/compiler/xla/hlo/builder:xla_builder",
"@org_tensorflow//tensorflow/compiler/xla/hlo/builder:xla_computation",
"@org_tensorflow//tensorflow/compiler/xla/service:platform_util",
"@org_tensorflow//tensorflow/compiler/xla/stream_executor",
"@org_tensorflow//tensorflow/compiler/xla/stream_executor/cuda:cuda_platform", # buildcleaner: keep # Linking in the host platform here ensures that the stream executor can execute on GPU.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ limitations under the License
#include "tensorflow/compiler/tf2xla/type_util.h"
#include "tensorflow/compiler/xla/client/client.h"
#include "tensorflow/compiler/xla/client/client_library.h"
#include "tensorflow/compiler/xla/client/xla_computation.h"
#include "tensorflow/compiler/xla/hlo/builder/xla_computation.h"
#include "tensorflow/compiler/xla/literal.h"
#include "tensorflow/compiler/xla/service/hlo.pb.h"
#include "tensorflow/compiler/xla/service/service.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ limitations under the License
#include "absl/status/statusor.h"
#include "tensorflow/compiler/tf2xla/shape_util.h"
#include "tensorflow/compiler/tf2xla/type_util.h"
#include "tensorflow/compiler/xla/client/xla_builder.h"
#include "tensorflow/compiler/xla/client/xla_computation.h"
#include "tensorflow/compiler/xla/hlo/builder/xla_builder.h"
#include "tensorflow/compiler/xla/hlo/builder/xla_computation.h"
#include "tensorflow/compiler/xla/service/platform_util.h"
#include "tensorflow/compiler/xla/shape.h"
#include "tensorflow/compiler/xla/shape_util.h"
Expand Down

0 comments on commit 54ca4ab

Please sign in to comment.