Closed aseyboldt closed 6 days ago
a
was not properly replaced by freeze_rv_and_dims
, it shouldn't be in the graph anymore. empty
does not in fact have a static shape in that first graph. Seems like a PyMC issue. Is this on the main branch?
Also happens on main
Found the problem
Description
The following fails in the jax backend when it tries to allocate a new array like an existing array with unknown shape:
The dprint of the function:
I think the problem is that
AllocEmpty
doesn't have a known shape.Everything works fine if no dimensions are specified:
In this case the shape is known: