Calling breakpoint_if_nonfinite on TPU #12713
Unanswered
lucaslingle
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Thanks for bringing this up! I think this may be a Colab issue; Colab is running on an older TPU runtime, which is missing several features, though I don't think this particular one was on our radar. Can you confirm that you're using Colab? If so, we should just add a mention of this issue to the docs. When Colab eventually gets the new TPU runtime ("Cloud TPU VM" I think it's called), this will be fixed. |
Beta Was this translation helpful? Give feedback.
3 replies
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.
-
The function
breakpoint_if_nonfinite
, defined in the Jax page on the debug module, and shown below, does not work on TPU.The error is
However, I am able to call
jax.debug.breakpoint()
directly within my code on TPU. In light of this, I was wondering what the error above means, and how I can perform conditional breakpointing on TPU.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions