Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pjrt] NFC: Always use concrete async value in PjRtFuture<T>
We plan to make absl::StatusOr<T> an implicit payload of PjRtFuture<T> and for consistency always use AsyncValueRef with concrete payload instead of relying on AsyncValue error semantics. PjRtFuture can't be constructed from async values passed from a user (only from a promise) so we can safely ignore the error bit as we never use it. This is a first CL in preparation for making absl::StatusOr implicit in PjRtFuture<T>. PiperOrigin-RevId: 628598778
- Loading branch information
1 parent
f0dfc04
commit 7bb6eb1
Showing
1 changed file
with
21 additions
and
28 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