`RecursionError` on a larger sample

This post was flagged by the community and is temporarily hidden.

It seems that the parallel sampler is unable to pickle the step function. But what could be wrong with it if it’s automatically created?

Moved to `RecursionError` on a larger sample · Issue #4478 · pymc-devs/pymc3 · GitHub