You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In terms of object serialization, I believe that dill is more robust than cloudpickle against the set of standard python objects -- however cloudpickle can handle some cases that dill does not, or at least the default dill.settings do not. The typical thing that is done in cases like this is to abstract the serializer, which could be done with little problem. This has been the practice of IPython (in parallel), mpi4py, and other packages.
So unless you are referencing the issue that dill uses pyreadline (uqfoundation/dill#171), the answer I believe is yes, it should be somewhat easy. If you are referencing the pyreadline issue, then that's a dill issue, and probably even easier as multiprocess would not need to change at all.
Activity
mmckerns commentedon Aug 29, 2016
In terms of object serialization, I believe that
dillis more robust thancloudpickleagainst the set of standard python objects -- howevercloudpicklecan handle some cases thatdilldoes not, or at least the defaultdill.settingsdo not. The typical thing that is done in cases like this is to abstract the serializer, which could be done with little problem. This has been the practice ofIPython(inparallel),mpi4py, and other packages.So unless you are referencing the issue that
dillusespyreadline(uqfoundation/dill#171), the answer I believe is yes, it should be somewhat easy. If you are referencing thepyreadlineissue, then that's adillissue, and probably even easier asmultiprocesswould not need to change at all.mmckerns commentedon Jun 22, 2018
this is essentially a duplicate of #5. Closing... but will focus on
cloudpickleas the alternate serializer.