I ran into the same problem of deterministics not showing up in the McBackend trace a few days ago.
I didn’t have the time to look into it yet, but I pushed the WIP branch: Optional McBackend support by michaelosthege · Pull Request #6510 · pymc-devs/pymc · GitHub
The tests will most likely fail with the same error.
I think the problem is in this part where it determines which models variables will be traced:
Somehow it’s skipping the deterministics.
1 Like