You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ConcretizationTypeError: Abstract tracer value encountered where concrete value is expected: Traced<ShapedArray(bool[], weak_type=True)>with<BatchTrace(level=1/1)> with
val = Array([False, False], dtype=bool, weak_type=True)
batch_dim = 0
The problem arose with the `bool` function.
This BatchTracer with object id 140682262908736 was created on line:
<ipython-input-30-5f76524299dc>:7 (root)
See https://jax.readthedocs.io/en/latest/errors.html#jax.errors.ConcretizationTypeError
Turns out this is because root is not jittable, though I don't see any reason why it shouldn't be since it's internal loop is a lax.while_loop. Maybe there are some python ifs that could be lax.conds?
The text was updated successfully, but these errors were encountered:
Turns out this is because root is not jittable, though I don't see any reason why it shouldn't be since it's internal loop is a
lax.while_loop
. Maybe there are some pythonif
s that could belax.cond
s?The text was updated successfully, but these errors were encountered: