Simple question: correct way to save traces?

I could try to help if you add the full traceback here. One question, is the model being inferred from the context in your case?

Another question, did you try the more direct approach of just using pickle dump and load?