sample_posterior_predictive
does not consider changes in "ConstantData" and "Constant coords"
#6876
Labels
sample_posterior_predictive
does not consider changes in "ConstantData" and "Constant coords"
#6876
Description
The existing checks assume the same model is used between sample and sample_posterior_predictive, in which case the only variable that can be changed are mutable ones.
However if one wants to sample in a new model (as described in https://www.pymc-labs.io/blog-posts/out-of-model-predictions-with-pymc/), they have to artificially use mutable variables even if they never intend to change them after definition:
A similar thing happens for variables whose
dims
are changed. If they were defined incoords_mutable
it will resample correctly, but not if they were defined as vanilla "constant" coordsThe text was updated successfully, but these errors were encountered: