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

[IFRT] Add custom_options in ifrt::ExecuteOptions #20103

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Dec 4, 2024

[IFRT] Add custom_options in ifrt::ExecuteOptions

The users can provide any runtime-specific execution options at
ifrt::LoadedExecutable::Execute() using
ifrt::ExecuteOptions::custom_options. These options are intended to convey
small per-execution metadata that are to be used by implementation internals
with little to (ideally) no interaction with IFRT API semantics. Example use
cases are propagating a profiling key, which currently goes out of scope of
IFRT APIs.

@copybara-service copybara-service bot force-pushed the test_702507071 branch 5 times, most recently from 128ce6b to 60bc2f3 Compare December 4, 2024 02:42
The users can provide any runtime-specific execution options at
`ifrt::LoadedExecutable::Execute()` using
`ifrt::ExecuteOptions::custom_options`. These options are intended to convey
small per-execution metadata that are to be used by implementation internals
with little to (ideally) no interaction with IFRT API semantics. Example use
cases are propagating a profiling key, which currently goes out of scope of
IFRT APIs.

PiperOrigin-RevId: 702546163
@copybara-service copybara-service bot merged commit 5ad6651 into main Dec 4, 2024
@copybara-service copybara-service bot deleted the test_702507071 branch December 4, 2024 03:04
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.

1 participant