evalml icon indicating copy to clipboard operation
evalml copied to clipboard

Update pipeline `save` / `load` to use pickle instead of cloudpickle

Open angela97lin opened this issue 3 years ago • 1 comments

angela97lin avatar Apr 27 '21 17:04 angela97lin

This is fine with me. I think its preferable to use the python built-in pickle as our default serialization strategy.

I'd like this issue to track updating our pipeline and AutoMLSearch save and load methods to support both pickle and cloudpickle formats, via a format keyword arg.

Note that before we make pickle the new default serialization format, we should verify that this doesn't affect the serialization required for the dask-backed parallel engine (@chukarsten ). If pickle causes problems for the parallel engine, we'll need to update that code to continue to use cloudpickle.

dsherry avatar Apr 28 '21 13:04 dsherry