Predict with new coords leads to conflicting sizes

It’s kind of annoying that the error doesn’t point to the variable caused the error, but only to the dimension name. I think that the error is happening when sample_posterior_predictive tries to set the observed predictions constant data (i.e. the observations that were actually observed in your new_x). Those are being grabbed from the old y values. You should simply also set_data for y too.

2 Likes