-
I have a really odd bug that I can't sort out... I have a JAX float32-array of shape I cannot reproduce it outside of the codebase with a similar shaped randomized matrix (conversions take < 1 second). The array is formed within an experimental loop replicating a markov chain but otherwise unexceptional. Does anyone have any ideas about how to debug this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Is it that the array conversion is slow, or that the Jax array is actually a future that isn't ready yet? Does |
Beta Was this translation helpful? Give feedback.
Is it that the array conversion is slow, or that the Jax array is actually a future that isn't ready yet?
Does
.block_until_ready()
also block for a long time on the JAX array? If so, it's most likely that JAX is computing the value in the background and it simply isn't ready for a long time.