Before #2984 this used to work ```python with pm.Model() as m: alfa = pm.HalfNormal('alfa', 20) p = pm.Beta('p', alfa, 1) pm.distributions.draw_values([m['p']], size=10) ``` Also a model like this will fail when sampled using SMC, because SMC is initialized by sampling from the prior.