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
Cloudpickle rises Error on cloudpickle.dumps(): TypeError: can't pickle _thread.lock objects.
This is a problem, because Ray uses cloudpickle to serialize objects. We can't send gin configurable classes to Ray actors or Ray object store (with ray.put). Is it a bug or should it be done differently? I didn't know where to open this issue (in cloudpickle, ray or here). Can you help us with this?
The text was updated successfully, but these errors were encountered:
Reverting this commit: ea92e34 fixes the problem. Having gin configured classes being clouldpicklable is a must for us. Do you have some advice how to make gin picklable without reverting this commit?
Running this code...
...prints:
Cloudpickle rises Error on
cloudpickle.dumps()
:TypeError: can't pickle _thread.lock objects
.This is a problem, because Ray uses cloudpickle to serialize objects. We can't send gin configurable classes to Ray actors or Ray object store (with
ray.put
). Is it a bug or should it be done differently? I didn't know where to open this issue (in cloudpickle, ray or here). Can you help us with this?The text was updated successfully, but these errors were encountered: