Skip to content
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

Async tell and eval #147

Closed
louiskirsch opened this issue Oct 1, 2020 · 1 comment
Closed

Async tell and eval #147

louiskirsch opened this issue Oct 1, 2020 · 1 comment

Comments

@louiskirsch
Copy link

louiskirsch commented Oct 1, 2020

Tell has high CPU usage but no GPU usage, if my eval is GPU bound I have my GPUs idle during tell.
Is there a possibility to run another ask and eval during the current tell?

@nikohansen
Copy link
Contributor

There is a related issue: CMA-ES/libcmaes#204

Running ask and eval in itself is a matter of implementation (though ask uses the state of the object that tell changes, so I guess you want to call ask before and not during the change). The question then is whether the result of eval is still useful after tell has been executed. There are quite a few caveats one would need to figure out. Using a significant number of samples in tell from a different (not updated) distribution is in particular problematic for step-size control and for controlling unbiasedness in the update. There are implementation details that could be crucial and it is not at all clear to me under which circumstances this would work or fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants