Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pjrt] NFC: Always use concrete async value in PjRtFuture<T> #66548

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

[pjrt] NFC: Always use concrete async value in PjRtFuture

We plan to make absl::StatusOr an implicit payload of PjRtFuture 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.

@copybara-service copybara-service bot closed this Apr 27, 2024
@copybara-service copybara-service bot deleted the exported_pr_628466634 branch April 27, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant