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

Issue when running on multiple devices #73

Open
sokol11 opened this issue Aug 24, 2024 · 0 comments
Open

Issue when running on multiple devices #73

sokol11 opened this issue Aug 24, 2024 · 0 comments

Comments

@sokol11
Copy link

sokol11 commented Aug 24, 2024

Hi. I tried running some of the examples on a multi-TPU machine and it throws this "assert not ragged" error: jax-ml/jax#13931

The error occurs even when telling jit to use a single device, like so: x, state = jax.jit(strategy.ask, device=jax.devices("tpu")[0])(rng_ask, state)

Running without jit, e.g., x, state = strategy.ask(rng_ask, state) causes input shape errors, which I guess is somewhat expected.

Everything runs fine on a single-device machine.

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