Skip to content

Comments

PR #38135: [xla:pjrt] Unify AsyncWorkRunner API with tsl::Executor#38155

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_873879190
Open

PR #38135: [xla:pjrt] Unify AsyncWorkRunner API with tsl::Executor#38155
copybara-service[bot] wants to merge 1 commit intomainfrom
test_873879190

Conversation

@copybara-service
Copy link

PR #38135: [xla:pjrt] Unify AsyncWorkRunner API with tsl::Executor

Imported from GitHub PR #38135

We already have tsl::Executor that solves the same problem in many other APIs, migrate PJRT to standard API with a path for further cleanup.

  1. AsyncWorkRunner is a tsl::Executor
  2. Implement ExecuteWhenReady once because all implementations use the same RunWhenReady
    Copybara import of the project:

--
8e87762 by Eugene Zhulenev ezhulenev@openxla.org:

[xla:pjrt] Unify AsyncWorkRunner API with tsl::Executor

Merging this change closes #38135

FUTURE_COPYBARA_INTEGRATE_REVIEW=#38135 from ezhulenev:async-work-runner-0 8e87762

@copybara-service copybara-service bot force-pushed the test_873879190 branch 3 times, most recently from bcd8855 to ad78d12 Compare February 23, 2026 12:29
Imported from GitHub PR #38135

We already have `tsl::Executor`  that solves the same problem in many other APIs, migrate PJRT to standard API with a path for further cleanup.

1. `AsyncWorkRunner` is a `tsl::Executor`
2. Implement `ExecuteWhenReady` once because all implementations use the same `RunWhenReady`
Copybara import of the project:

--
8e87762 by Eugene Zhulenev <ezhulenev@openxla.org>:

[xla:pjrt] Unify AsyncWorkRunner API with tsl::Executor

Merging this change closes #38135

FUTURE_COPYBARA_INTEGRATE_REVIEW=#38135 from ezhulenev:async-work-runner-0 8e87762
PiperOrigin-RevId: 873879190
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