-
Notifications
You must be signed in to change notification settings - Fork 58
make the runner request points until it's using all cores #123
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
Comments
originally posted by Anton Akhmerov (@anton-akhmerov) at 2017-09-06T09:16:01.309Z on GitLab I think this is a bad design. Instead the learner should always return |
originally posted by Bas Nijholt (@basnijholt) at 2017-09-06T09:17:54.102Z on GitLab OK, but in that case we cannot deal with |
originally posted by Anton Akhmerov (@anton-akhmerov) at 2017-09-06T10:36:49.536Z on GitLab I don't think these are related issues. I suggest closing this issue, because requesting |
originally posted by Joseph Weston (@jbweston) at 2017-09-06T11:20:16.729Z on GitLab I would tend to agree that If the behaviour is "it could return < n points, and in such a case you should call |
originally posted by Anton Akhmerov (@anton-akhmerov) at 2017-09-06T14:37:46.243Z on GitLab Closing, following the above discussion. |
(original issue on GitLab)
opened by Bas Nijholt (@basnijholt) at 2017-09-06T09:14:54.989Z
Right now, when the runner requests
n_cores
points, and the learner returnsn
(wheren < n_cores
) points, the maximum number of jobs will ben
.Because of this behavior, we have the following code in
BalancingLearner
andLearner2D
:I think we can fix this by having the learner return
n
(wheren ≤ n_requested
) points and writing the runner in a way such that it will requestn_requested
points untiln_requested == n_cores
.@jbweston what do you think about this?
I consider gitlab:!7 blocked until we make a decision on this because if we decide not do to this, I'll have to change the code to
if not add_data: raise NotImplementedError()
.The text was updated successfully, but these errors were encountered: