-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
after using funlib.persistence 0.5.3 multiprocess lambda error #326
Comments
after testing: Error happens only with distance task: same tutorial only difference is using DistanceTask: |
very weird behavior: |
Hmm, Ok this is strange behavior. I can take a look. I am very surprised that it doesn't work even with setting multiprocessing spawn method to "fork" since there shouldn't be a need to pickle the local lambda function at all if using the "fork" spawn method |
I don't get any pickling errors running that tutorial anymore. I suspect the issue was caused by some other bug that was fixed when we expanded the tests, and only presented as a pickling error when the the worker tried to pass the exception back to the watchdog process. I tried installing from github main branch, and installing locally, both worked fine for me. |
as you said last time it can be a bug in the code but get reported as lambda serialization problem. I will update everything and if i don't get the error anymore i will close the issue |
After start using the new funlib.persistence. in a new envirement i got this bug where training.
Got the bug with and without
multiprocessing.set_start_method("fork", force=True)
python 3.11
OS: Ubuntu 22.04.4 LTS
@pattonw
The text was updated successfully, but these errors were encountered: