-
Notifications
You must be signed in to change notification settings - Fork 25
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
change to pmap step in computeNextIteration #47
base: master
Are you sure you want to change the base?
Conversation
…rob object plus proposed parameter vector (rather than entire chain object)
sounds like a good idea! thanks! |
This actually doesn't go far enough. |
hey how are we doing with this? good to merge? |
This change by itself doesn't give much of a memory improvement. To get any improvement it's necessary to use
But this solution doesn't make a lot of sense for library use. |
its necessary
I've added an option to AlgoBGP.opts, "worker_pool", that allows the user to specify a worker pool to use for distributed computation. This gets passed to the |
Hi -
I modified the pmap step in
computeNextIteration!
to only parallellize the objective function evaluation step (not the accept / reject or proposal steps). This avoids having to pass the entire chain to the workers. I was running into problems where the evaluation slowed down over time and eventually failed with a bus error because the chain objects get very large. I think this should solve that problem.Greg