-
Notifications
You must be signed in to change notification settings - Fork 311
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 request and limit to ray config #3087
Conversation
Signed-off-by: Kevin Su <[email protected]>
Code Review Agent Run #5148c9Actionable Suggestions - 6
Review Details
|
Signed-off-by: Kevin Su <[email protected]>
Changelist by BitoThis pull request implements the following key changes.
|
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
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.
I agree that the ux around the pod template is not great. Folks have to know the primary container name for the head/worker which is easy to miss and is the primary source of errors. I just think that folks will want these types of helpers for any future things they will need to configure. So in the future this code may need to be refactored to manipulate a pod template across several helpers.
Given that this doesn't change the backend I dont have too strong of opinions so LGTM.
Code Review Agent Run #c9c4acActionable Suggestions - 0Review Details
|
Love it! LGTM |
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
#3090 is going to fix the lint CI check. Change looks good! |
Code Review Agent Run #89224bActionable Suggestions - 1
Review Details
|
@@ -4,7 +4,7 @@ | |||
|
|||
microlib_name = f"flytekitplugins-{PLUGIN_NAME}" | |||
|
|||
plugin_requires = ["ray[default]", "flytekit>=1.3.0b2,<2.0.0", "flyteidl>=1.13.6"] | |||
plugin_requires = ["ray[default]", "flytekit>1.14.5", "flyteidl>=1.13.6"] |
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.
Consider using a more specific version constraint for flytekit
. The current constraint >1.14.5
has no upper bound which could lead to compatibility issues with future major versions. Consider using something like >1.14.5,<2.0.0
to ensure compatibility.
Code suggestion
Check the AI-generated fix before applying
plugin_requires = ["ray[default]", "flytekit>1.14.5", "flyteidl>=1.13.6"] | |
plugin_requires = ["ray[default]", "flytekit>1.14.5,<2.0.0", "flyteidl>=1.13.6"] |
Code Review Run #89224b
Is this a valid issue, or was it incorrectly flagged by the Agent?
- it was incorrectly flagged
Signed-off-by: Eduardo Apolinario <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3087 +/- ##
===========================================
- Coverage 76.46% 51.69% -24.78%
===========================================
Files 218 202 -16
Lines 22505 21398 -1107
Branches 2766 2765 -1
===========================================
- Hits 17209 11062 -6147
- Misses 4483 9731 +5248
+ Partials 813 605 -208 ☔ View full report in Codecov by Sentry. |
Code Review Agent Run #7ec23dActionable Suggestions - 0Additional Suggestions - 2
Review Details
|
* Add request and limit to ray config Signed-off-by: Kevin Su <[email protected]> * lint Signed-off-by: Kevin Su <[email protected]> * nit Signed-off-by: Kevin Su <[email protected]> * nit Signed-off-by: Kevin Su <[email protected]> * update flytekit version Signed-off-by: Kevin Su <[email protected]> * nit Signed-off-by: Kevin Su <[email protected]> --------- Signed-off-by: Kevin Su <[email protected]> Signed-off-by: Eduardo Apolinario <[email protected]> Co-authored-by: Eduardo Apolinario <[email protected]> Signed-off-by: Umer Ahmad <[email protected]>
Tracking issue
NA
Why are the changes needed?
What changes were proposed in this pull request?
@task
How was this patch tested?
Setup process
Screenshots
Check all the applicable boxes
Related PRs
#2943
Docs link
NA
Summary by Bito
Enhanced Ray configuration system with resource management capabilities for head and worker nodes, replacing K8sPod with PodTemplate. Added support for CPU/memory specifications in HeadNodeConfig and WorkerNodeConfig, improved documentation quality, and introduced baseline documentation error tracking. The changes include support for pip extra arguments and improved URI modifications in dataclasses. Updated resource configuration implementation and flytekit version requirement with improved naming conventions.Unit tests added: True
Estimated effort to review (1-5, lower is better): 4