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

[JAX] Add PyClient::GetAllDevices() and expose it as a private JAX backend API #17845

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 2, 2024

[JAX] Add PyClient::GetAllDevices() and expose it as a private JAX backend API

JAX backend forwards xla::ifrt::Client::GetAllDevices() to
xla::PyClient::GetAllDevices(), which is accessible via JAX
backend._get_all_devices(). This API is a transitional private backend API
that is used for building an experimental API (finding colocated CPU devices)
and should not be used by any other code.

@copybara-service copybara-service bot force-pushed the test_679748877 branch 6 times, most recently from 1b87a48 to 5331492 Compare October 8, 2024 02:10
@copybara-service copybara-service bot changed the title [JAX] Add PyClient::GetAllDevices() and expose it as an internal JAX backend API [JAX] Add PyClient::GetAllDevices() and expose it as a private JAX backend API Oct 8, 2024
@copybara-service copybara-service bot force-pushed the test_679748877 branch 2 times, most recently from 7c37cf4 to 48bb5d1 Compare October 8, 2024 17:46
…ckend API

JAX backend forwards `xla::ifrt::Client::GetAllDevices()` to
`xla::PyClient::GetAllDevices()`, which is accessible via JAX
`backend._get_all_devices()`. This API is a transitional private backend API
that is used for building an experimental API (finding colocated CPU devices)
and should not be used by any other code.

PiperOrigin-RevId: 683696786
@copybara-service copybara-service bot merged commit a801105 into main Oct 8, 2024
1 check passed
@copybara-service copybara-service bot deleted the test_679748877 branch October 8, 2024 18:24
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