-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Parallelization of DiscreteDP solvers #261
Comments
Hi @jstac this would be very cool. Off the top of my head, the two most obvious places for parallelism to me are: I think the most straightforward way to get this in python would be to figure out how to write those operations in a way where numba could automatically parallelize them for us. |
I guess we should fix target usecases. (I have had no experience to try to solve a large size problem.)
|
I agree with the need to profile. Question: Can we automate parallelization of the max step in application of T or computation of greedy policies and get significant gains through the jit compiler? See In[23] of this notebook: http://nbviewer.jupyter.org/gist/natashawatkins/2ba8acca8dde831f4cafc09b9990b91c (Thanks to @natashawatkins) The gains there are large. But this would need to be tested on a variety of input data. |
We may try Numba's new parallelization technology. |
Yes, good point. In my understanding this is still experimental, whereas the |
For this function we can compare |
Just to check, is the parallelization already finished or still open to contribution? |
As far as I know this is still an open issue and we'd love to see it pushed forward. Thanks for your interest @zhoujianberkeley . @oyamad / @mmcky, do you know if any work has been done on this? |
No part has been parallelized. Thanks for your interest @zhoujianberkeley! |
Is it possible to modify the solvers within DiscreteDP so that they can exploit multiple cores? This is a question from a user (Jack Shin) and I'm sure it would be very valuable to users if that could be done transparently (and if they had access to a machine with sufficiently many cores).
Same question goes for the Julia code, come to think of it.
@spencerlyon2 @cc7768 @oyamad Any thoughts?
The text was updated successfully, but these errors were encountered: