Shape issues with sample_posterior_predictive in PyMc5

That’s weirf, can you share the full error message? Also what version of PyMC are you using?