-
Notifications
You must be signed in to change notification settings - Fork 448
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
add bestTrialId to statusJob status #312
Conversation
/assign @richardsliu @YujiOshima Only pkg/api/api.proto is updated and changes of other files under pkg/api/ are automatically generated. |
After a studyJob completed, user can get bestTrialId in studyjob status, then he can call GetTrial gRpc to get hyperparameter detail.
|
/retest |
@hougangliu Thanks! This is great! Please generate mocks by mockgen script |
@hougangliu It is better to have not only the best trialID but the best workerID. |
@YujiOshima thanks! I will re-submit another patch to fix your comment after #303 merged |
/retest |
/** | ||
* Get a trial configuration from DB by trial ID | ||
*/ | ||
message GetTrialRequest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This request may be confusing with GetTrialsRequest above, since the names differ only by 1 letter and the parameters are the same. Maybe we should rename GetTrialsRequest to ListStudyTrialsRequest? @YujiOshima What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I can change it in another PR.
BTW, should we keep backward compatibility about GetTrialsRequest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we should reconsider this when we define our Beta APIs. For now this looks good.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: richardsliu The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes: #305
This change is