Probably the same issue reported here: Posterior predictive doesn't resample intermediate Deterministics of intervened variables · Issue #6977 · pymc-devs/pymc · GitHub