It is not possible for me to know or even guess what could be causing the error for now, sorry. We’ll need more information such as versions, a minimal working example if possible in order to reproduce the error… We have a write-up about things that will maximize the probability of getting an answer at Asking Questions on the PyMC Discourse — PyMC project website