Replies: 2 comments 1 reply
-
|
Can you say more about what goes wrong? What, exactly did you run? What happens when you try? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Installed jax[tpu] locally Follow an example from
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use cloud TPU VMs, but also run tests locally. As I try to use bazel rules_python's pip_install, which bundles python dependencies with the main script, I ran into issues running test locally as JAX cannot find TPU. Is there a way to turn off the tpu features in jax[tpu] so that I can run it without TPU?
What I tried:
I'm about to import jax and see CPU as the only device, but cannot run computation as JAX seems to keep trying to talk to TPU.
I read this issue which seem related.
Seem to me the only difference between jax[cpu] and jax[tpu] is two extra libs/packages.
Beta Was this translation helpful? Give feedback.
All reactions