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

EXLA does not consider the device on EXLA.Backend operations #1357

Closed
josevalim opened this issue Nov 8, 2023 · 1 comment
Closed

EXLA does not consider the device on EXLA.Backend operations #1357

josevalim opened this issue Nov 8, 2023 · 1 comment

Comments

@josevalim
Copy link
Collaborator

The bug is here: https://github.com/elixir-nx/nx/blob/main/exla/lib/exla/backend.ex#L322

Originally posted by @josevalim in elixir-nx/xla#58 (comment)

@polvalente
Copy link
Contributor

I wonder if Nx should have some kind of device abstraction in the API itself. It could be useful for serving distribution, and Torchx also has the same problem throughout

josevalim added a commit that referenced this issue Nov 9, 2023
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

2 participants