-
Notifications
You must be signed in to change notification settings - Fork 133
added cycle state to pick & process results in profile handler #1040
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
Conversation
✅ Deploy Preview for gateway-api-inference-extension ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nirrozenbaum 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 |
fyi @kfirtoledo |
/lgtm |
Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com>
378e220
to
c7b3c1b
Compare
/lgtm |
…netes-sigs#1040) * added cycle state to pick + process results of profile handler Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> * wildcard Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> --------- Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com>
…netes-sigs#1040) * added cycle state to pick + process results of profile handler Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> * wildcard Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> --------- Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com>
…netes-sigs#1040) * added cycle state to pick + process results of profile handler Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> * wildcard Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> --------- Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com>
…netes-sigs#1040) * added cycle state to pick + process results of profile handler Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> * wildcard Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com> --------- Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com>
This PR adds CycleState arg to
Pick
andProcessResults
functions ofProfileHandler
.Additional minor change is being consistent in arguments order across all scheduling plugins.
after this PR all plugins receive first args (context, cycle-state) and then the plugin specific args like request, etc.
This was raised by @kfirtoledo while working on PD scorer, and had the requirement to access some of the scorer calculations in ProcessResults (need to communicate it through CycleState).
NO LOGIC CHANGE.