Skip to content

Commit 4c3616a

Browse files
committed
Fix compilation.
1 parent 30d9f62 commit 4c3616a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

torch_xla/csrc/runtime/ifrt_computation_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ IfrtComputationClient::ExecuteReplicated(
592592
TF_VLOG(5) << "ExecuteReplicated acquiring IFRT device lock for "
593593
<< spmd_device_str << " Done";
594594

595-
XLA_ASSIGN_OR_RETURN_WITH_LOCATION(
595+
XLA_ASSIGN_OR_RETURN(
596596
xla::ifrt::LoadedExecutable::ExecuteResult result,
597597
ifrt_computation.executable->Execute(absl::MakeSpan(argument_handles),
598598
execute_options, std::nullopt));

torch_xla/csrc/runtime/pjrt_computation_client.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ PjRtComputationClient::ExecuteComputation(
769769
<< " Done";
770770

771771
std::optional<xla::PjRtFuture<>> returned_future;
772-
XLA_ASSIGN_OR_RETURN_WITH_LOCATION(
772+
XLA_ASSIGN_OR_RETURN(
773773
std::vector<std::unique_ptr<xla::PjRtBuffer>> results,
774774
pjrt_computation.executable->ExecuteSharded(
775775
buffers, pjrt_device, execute_options, returned_future));
@@ -874,7 +874,7 @@ PjRtComputationClient::ExecuteReplicated(
874874
tsl::profiler::TraceMe activity(
875875
"PjRtComputationClient::ExecuteReplicated_execute",
876876
tsl::profiler::TraceMeLevel::kInfo);
877-
XLA_ASSIGN_OR_RETURN_WITH_LOCATION(
877+
XLA_ASSIGN_OR_RETURN(
878878
results,
879879
pjrt_computation.executable->Execute(
880880
std::move(argument_handles), execute_options, returned_futures));

0 commit comments

Comments
 (0)