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

Provide API to query if jax.distributed has been initialised #26009

Open
PhilipVinc opened this issue Jan 21, 2025 · 0 comments
Open

Provide API to query if jax.distributed has been initialised #26009

PhilipVinc opened this issue Jan 21, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@PhilipVinc
Copy link
Contributor

It would be useful for library authors to be able to query whether the distributed runtime has been initialised.

I think that right now, a workaround is to check for example whether the length of global devices does not match the local devices, but would be of course better to have something like jax.distributed.is_initialised or something like that.

@PhilipVinc PhilipVinc added the enhancement New feature or request label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants