File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ cc_library(
9898 "@xla//xla/pjrt/distributed" ,
9999 "@xla//xla/pjrt/gpu:se_gpu_pjrt_client" ,
100100 "@xla//xla/service:gpu_plugin" ,
101- "@xla//xla/pjrt:tpu_client" ,
102101 "@xla//xla/pjrt:pjrt_client" ,
103102 "@xla//xla/pjrt:tfrt_cpu_pjrt_client" ,
104103 "@xla//xla/pjrt:pjrt_c_api_client" ,
Original file line number Diff line number Diff line change 44#include < unordered_set>
55#include < vector>
66
7- // TODO: fix absl headers
87#include " absl/strings/ascii.h"
98#include " absl/types/span.h"
109#include " pjrt_computation_client.h"
2726#include " xla/pjrt/pjrt_client.h"
2827#include " xla/pjrt/pjrt_executable.h"
2928#include " xla/pjrt/tfrt_cpu_pjrt_client.h"
30- #include " xla/pjrt/tpu_client.h"
3129#include " xla/shape.h"
3230
3331using xla::internal::XlaBuilderFriend;
@@ -117,10 +115,7 @@ PjRtComputationClient::PjRtComputationClient() {
117115 XLA_CHECK (tpu_status.ok ());
118116 client_ = std::move (xla::GetCApiClient (" TPU" ).value ());
119117 } else if (device_type == " TPU_LEGACY" ) {
120- TF_VLOG (1 ) << " Initializing PjRt StreamExecutor TPU client..." ;
121- int64_t max_inflight_computations = sys_util::GetEnvInt (
122- env::kEnvPjRtTpuMaxInflightComputations , /* defval=*/ 32 );
123- client_ = xla::GetTpuClient (max_inflight_computations).value ();
118+ XLA_ERROR () << " TPU_LEGACY client is no longer available." ;
124119 } else if (device_type == " GPU" ) {
125120 TF_VLOG (1 ) << " Initializing PjRt GPU client..." ;
126121 bool async = sys_util::GetEnvBool (env::kEnvPjrtAsyncGpuClient , true );
You can’t perform that action at this time.
0 commit comments