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

auto accelerator for JAX #54

Open
aniketmaurya opened this issue Apr 22, 2024 · 0 comments
Open

auto accelerator for JAX #54

aniketmaurya opened this issue Apr 22, 2024 · 0 comments

Comments

@aniketmaurya
Copy link
Collaborator

Creating this issue to refer for implementing auto accelerator for JAX users.

          The thing is that we need to be opinionated about how other frameworks decide to support devices and what devices they support. So the semantics of `auto` will need to be framework-specific.

For instance with JAX you can call device_put on GPU, but you don't have mps. So we can add JAX with a different implementation for _choose_gpu_accelerator_backend.

We should actually have framework-specific _choose_gpu_accelerator_backend functions, like _choose_gpu_accelerator_torch etc.

Originally posted by @lantiga in #44 (comment)

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

No branches or pull requests

1 participant