Plotting a trace potentially causes my Python kernel to crash?

This is probably the fault of how log likelihood variables are stored (growing lists inside loops) which is not very memory efficient.

I have created an issue in ArviZ to keep in mind this should be improved with some more details on the problem and possible solutions. There were similar issues with pymc3.sample_posterior_predictive, so fix of log_likelihood related issue could be based on that.

1 Like