-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Broken IPython parallel interface? #215
Comments
Hey Thomas, I have no plans to update that interface at the moment, but I agree that On Wed, Aug 20, 2014 at 9:44 AM, Thomas Wiecki notifications@github.com
|
Hi James, Thanks for the quick reply. I started adapting and at least got it to start but then nothing happened. This might become more relevant so I might have some cycles to work on this. Also, are there any plans to add e.g. the GP optimization? |
Hey James, I was able to write a working version of the ipython parallel interface. I think it's not quite ready for a merge though. At first by following the existing design, I had an almost working version. But the existing placement of the apply_async call in ipy.py was causing large portions of the code to be pickled and sent to the engines (including the domain, the trials, and the pyll evalutator). In the end, this attempt failed because it was trying to pickle a <type '_hashlib.HASH'>. I refactored the apply_async call to be in the evaluation() part inside of Domain (in base.py). This limits the pickled data sent to the engines to just the objective function and its arguments. The version works and passes the unit tests. It is in this branch: https://github.com/willgroves/hyperopt/tree/ipyworking There are a few pieces of functionality that this version does not yet do that the mongo version does. But this could be a good start. |
Thanks so much for following up on this! Please feel welcome to submit this
On Fri, Mar 20, 2015 at 10:39 PM, willgroves notifications@github.com
|
Seems like a lot of API has changed but the IPython parallel client wasn't updated. Are there plans to update that, it's so much easier to work with than the mongodb based backend.
The text was updated successfully, but these errors were encountered: