-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(sdk): support dynamic machine type parameters in pipeline task setters #11097
Conversation
db73612
to
9130677
Compare
2564426
to
b70aef8
Compare
Tests succeed locally, but fail here. Need to release new kfp-pipeline-spec to pass tests. Also wait for backend changes to roll to prod. |
Nice! Is there an open issue for this by any chance? I see it's related to your previous work on this. |
Marking this as draft so we don't accidentally merge it before backend changes are ready. But code is ready to be reviewed. Hi Mark, I don't believe we have an open issue for this. |
So given your current sdk modification, can the generate pipeline yaml be run successfully with the current kfp server( version=2.2.0)? or need to adjust the kfp server in order to run the pipeline? This feasture is needed in our project, since it seems that v2 remove the original support for handle pipeline parameters for setup resource limit. Thanks a lot! |
Backend changes are rolled out. Still need to wait for kfp-pipeline-spec release. |
Hi @convect-bot , yes this sdk change will be able to be run with the current kfp server version. However, you will need to install the next version of kfp-pipeline-spec https://pypi.org/project/kfp-pipeline-spec/ once it is released. |
Signed-off-by: Chen Sun <[email protected]> Signed-off-by: KevinGrantLee <[email protected]>
Signed-off-by: Chen Sun <[email protected]> Signed-off-by: KevinGrantLee <[email protected]>
#11192) Signed-off-by: Chen Sun <[email protected]> Signed-off-by: KevinGrantLee <[email protected]>
Signed-off-by: Chen Sun <[email protected]> Signed-off-by: KevinGrantLee <[email protected]>
pipeline_with_resource_spec Signed-off-by: KevinGrantLee <[email protected]>
09dcb0c
to
7a183c0
Compare
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.
/lgtm
Thank you, @KevinGrantLee !
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chensun 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 |
…etters (kubeflow#11097) * temp title: change title Signed-off-by: KevinGrantLee <[email protected]>
Fixed that (kind of, now I'm the additional co-author as I had to rewrite and reorder the commits). I definitely saw this in the past as well. I think rebase after pull can definitely avoid this, although there might be more work for the authors in some cases. Maybe PR reviewers can ask author to rebase if we think avoiding this is necessary? |
Yeah I think it's good form to just have the author rebase and keep the commits clean in the PR (reviewers and approvers should keep the author honest here) |
+1 to asking author to rebase |
…etters (kubeflow#11097) * temp title: change title Signed-off-by: KevinGrantLee <[email protected]> Signed-off-by: zed546213 <[email protected]>
…etters (kubeflow#11097) * temp title: change title Signed-off-by: KevinGrantLee <[email protected]>
…etters (kubeflow#11097) * temp title: change title Signed-off-by: KevinGrantLee <[email protected]>
Description of your changes:
Enables dynamic values for cpu_limit, cpu_request, memory_limit, memory_request, accelerator_type, accelerator_limit.
Enables pipelines like
Checklist: