-
Notifications
You must be signed in to change notification settings - Fork 313
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
Commands can't be defined in __main__ module #837
Comments
This isn't true.
Can you be more specific? If you are interested in |
If I copy the contents of LinkCountingCommand over to the demo.py and run
So yeah, I guess we are blocked on the |
Due to limitations in dill, classes defined in the
__main__
module can't be pickled.Since we send all of our commands through a multiprocess.queue which uses dill internally we can't send Commands defined in the main module.
See uqfoundation/multiprocess#22 and uqfoundation/multiprocess#5 for progress on allowing us to specify a different serializer in multiprocess.
The text was updated successfully, but these errors were encountered: