-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the new PjRt InterpreterClient in test base and PjRt test client …
…registry. PiperOrigin-RevId: 707247154
- Loading branch information
1 parent
47c5b30
commit 5c99171
Showing
6 changed files
with
1,077 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
load("//xla/tsl:tsl.bzl", "internal_visibility") | ||
load("//xla/tsl/platform:rules_cc.bzl", "cc_library") | ||
|
||
package( | ||
# copybara:uncomment default_applicable_licenses = ["//tensorflow:license"], | ||
default_visibility = ["//visibility:private"], | ||
licenses = ["notice"], | ||
) | ||
|
||
cc_library( | ||
name = "interpreter_client", | ||
srcs = ["interpreter_client.cc"], | ||
hdrs = ["interpreter_client.h"], | ||
visibility = internal_visibility(["//xla:friends"]), | ||
deps = [ | ||
"//xla:literal", | ||
"//xla:shape_util", | ||
"//xla:util", | ||
"//xla/backends/interpreter:compiler", | ||
"//xla/client:executable_build_options", | ||
"//xla/hlo/builder:xla_computation", | ||
"//xla/hlo/evaluator:hlo_evaluator", | ||
"//xla/hlo/ir:hlo", | ||
"//xla/hlo/pass:hlo_pass_pipeline", | ||
"//xla/hlo/transforms:cholesky_expander", | ||
"//xla/hlo/transforms:dynamic_index_splitter", | ||
"//xla/hlo/transforms:eigh_expander", | ||
"//xla/hlo/transforms:qr_expander", | ||
"//xla/pjrt:layout_mode", | ||
"//xla/pjrt:mlir_to_hlo", | ||
"//xla/pjrt:pjrt_client", | ||
"//xla/pjrt:pjrt_common", | ||
"//xla/pjrt:pjrt_compiler", | ||
"//xla/pjrt:pjrt_device_description", | ||
"//xla/pjrt:pjrt_executable", | ||
"//xla/pjrt:pjrt_future", | ||
"//xla/pjrt:utils", | ||
"//xla/service:batchnorm_expander", | ||
"//xla/service:computation_placer_hdr", | ||
"//xla/service:custom_call_target_registry", | ||
"//xla/service:dynamic_dimension_inference", | ||
"//xla/service:hlo_cost_analysis", | ||
"//xla/service:hlo_module_config", | ||
"//xla/service:hlo_module_util", | ||
"//xla/service:layout_assignment", | ||
"//xla/service:topk_rewriter", | ||
"//xla/service:triangular_solve_expander", | ||
"//xla/tsl/platform:errors", | ||
"@com_google_absl//absl/algorithm:container", | ||
"@com_google_absl//absl/base:core_headers", | ||
"@com_google_absl//absl/base:nullability", | ||
"@com_google_absl//absl/container:flat_hash_map", | ||
"@com_google_absl//absl/functional:any_invocable", | ||
"@com_google_absl//absl/log", | ||
"@com_google_absl//absl/log:check", | ||
"@com_google_absl//absl/log:die_if_null", | ||
"@com_google_absl//absl/status", | ||
"@com_google_absl//absl/status:statusor", | ||
"@com_google_absl//absl/strings:str_format", | ||
"@com_google_absl//absl/strings:string_view", | ||
"@com_google_absl//absl/synchronization", | ||
"@com_google_absl//absl/types:span", | ||
"@llvm-project//mlir:IR", | ||
"@tsl//tsl/platform:fingerprint", | ||
"@tsl//tsl/platform:statusor", | ||
], | ||
) |
Oops, something went wrong.