-
Notifications
You must be signed in to change notification settings - Fork 138
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 eligible node role settings #1197
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Yaliang Wu <ylwu@amazon.com>
ylwu-amzn
temporarily deployed
to
ml-commons-cicd-env
August 10, 2023 16:44 — with
GitHub Actions
Inactive
ylwu-amzn
temporarily deployed
to
ml-commons-cicd-env
August 10, 2023 16:44 — with
GitHub Actions
Inactive
ylwu-amzn
temporarily deployed
to
ml-commons-cicd-env
August 10, 2023 16:44 — with
GitHub Actions
Inactive
ylwu-amzn
temporarily deployed
to
ml-commons-cicd-env
August 10, 2023 16:44 — with
GitHub Actions
Inactive
Codecov Report
@@ Coverage Diff @@
## 2.9 #1197 +/- ##
============================================
+ Coverage 78.75% 78.81% +0.06%
- Complexity 2122 2132 +10
============================================
Files 167 167
Lines 8678 8714 +36
Branches 871 874 +3
============================================
+ Hits 6834 6868 +34
- Misses 1448 1449 +1
- Partials 396 397 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
dhrubo-os
previously approved these changes
Aug 10, 2023
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.
Just have a minor comment. Overall looks good to me.
Signed-off-by: Yaliang Wu <ylwu@amazon.com>
ylwu-amzn
temporarily deployed
to
ml-commons-cicd-env
August 10, 2023 20:57 — with
GitHub Actions
Inactive
ylwu-amzn
temporarily deployed
to
ml-commons-cicd-env
August 10, 2023 20:57 — with
GitHub Actions
Inactive
ylwu-amzn
temporarily deployed
to
ml-commons-cicd-env
August 10, 2023 20:57 — with
GitHub Actions
Inactive
ylwu-amzn
temporarily deployed
to
ml-commons-cicd-env
August 10, 2023 20:57 — with
GitHub Actions
Inactive
dhrubo-os
approved these changes
Aug 10, 2023
rbhavna
approved these changes
Aug 10, 2023
ylwu-amzn
added a commit
to ylwu-amzn/ml-commons
that referenced
this pull request
Aug 18, 2023
* add eligible node role settings Signed-off-by: Yaliang Wu <ylwu@amazon.com> * add more comment Signed-off-by: Yaliang Wu <ylwu@amazon.com> --------- Signed-off-by: Yaliang Wu <ylwu@amazon.com>
ylwu-amzn
added a commit
that referenced
this pull request
Aug 18, 2023
zane-neo
pushed a commit
to zane-neo/ml-commons
that referenced
this pull request
Sep 1, 2023
…-project#1221) * add eligible node role settings * add more comment --------- Signed-off-by: Yaliang Wu <ylwu@amazon.com>
zane-neo
pushed a commit
that referenced
this pull request
Sep 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Per PM's suggestion, remote model should be able to run on data or ML node by default. But we should also keep local model run on ML node by default. So we still keep
plugins.ml_commons.only_run_on_ml_node
as true, but only control local model. Add more setting to provide granular level control on remote and local model.plugins.ml_commons.task_dispatcher.eligible_node_role.remote_model
which controls only remote model can run on which node. Default value is["data", "ml"]
which means the remote model can run on data node and ML node by default.plugins.ml_commons.task_dispatcher.eligible_node_role.local_model
which controls only local model can run on which node. But we haveplugins.ml_commons.only_run_on_ml_node
which controls the model can only run on ML node or not. To provide BWC, For local model, 1/ ifplugins.ml_commons.only_run_on_ml_node
istrue
, we will always run it on ML node. 2/ ifplugins.ml_commons.only_run_on_ml_node
isfalse
, will run model on nodes defined inplugins.ml_commons.task_dispatcher.eligible_node_role.local_model
.Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.