-
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 Parallelism in ParallelFor in KFP SDK V2 #8146
Conversation
Hi @bokleung. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
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.
Looks good, @bokleung! Just a few small nitpicks and one larger authoring API consideration.
FYI, the pre-commit file can help with the isort test failure and the unused imports.
sdk/python/kfp/compiler/test_data/pipelines/pipeline_with_parallelfor_parallelism.py
Outdated
Show resolved
Hide resolved
sdk/python/kfp/compiler/test_data/pipelines/pipeline_with_parallelfor_parallelism.py
Show resolved
Hide resolved
Undo accidental approval above |
/retest |
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 looks great, @bokleung. One last thing: can you add a release note to ./sdk/RELEASE.md
? Then we will be all set to merge.
Because we just updated the release file on master, you'll have to first git fetch upstream
and git rebase upstream/master
or git merge upstream/master
.
/retest |
1 similar comment
/retest |
/retest |
/lgtm Great work, @bokleung! Thanks so much for this contribution. |
/retest |
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.
Thanks, @bokleung. Just two small things.
/lgtm Thanks, @bokleung! Great work. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: connor-mccarthy 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 |
…#8146) * feat(sdk): add support for ParallelFor parallelism setting * add parallelism value check * Add unit tests * Adding a compiler test * used None as default parallelism input signature, other minor fixes on format and tests * fix import statements * add release.md message * update ParallelFor docstring * fixed docstring comments * removed 'optional' in docstrings
Description of your changes:
Checklist: