-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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): Add SemaphoreKey and MutexName fields to DSL #11340
base: master
Are you sure you want to change the base?
Conversation
ae9192a
to
65dd821
Compare
couple nitpicks but overall lgtm. I don't want to merge it until the backend PR is posted and close to shipping. |
c3178ce
to
15b89b0
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.
/hold
lgtm but let's wait until the backend PR is ready to go too
edit: need to use the right protoc version when generating the pipeline_spec files
39665e1
to
8ef1f2d
Compare
can we add a test where we verify the semaphore setting compiles to the expected IR? |
8ef1f2d
to
8a7b0e5
Compare
Edit: Updated to have the DSL generated |
still need to do this. Here's an example: |
8a7b0e5
to
8db319b
Compare
Yes I'm working on this ATM. I'm adding a unit test to the
Have a draft ready, testing locally and pushing it in a bit. |
57ac1b4
to
487d956
Compare
a4eec53
to
171700d
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1cc5a1f
to
1b496cd
Compare
/rerun-all |
c506967
to
96717b8
Compare
/lgtm |
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.
Good job, Dharmit! Just asked for a nitpick change and you'll be good.
96717b8
to
c8d80b5
Compare
New changes are detected. LGTM label has been removed. |
Signed-off-by: ddalvi <[email protected]>
c8d80b5
to
21ee60d
Compare
@chensun @connor-mccarthy could you PTAL? Thank you! |
Description of your changes:
This PR introduces
semaphoreKey
andmutexName
fields inPipelineConfig
to support pipeline-level concurrency controls in KFP SDK.This PR should be merged only after #11384 gets merged.
Testing instructions
Create a Python virtualenv and install the SDK and IR YAML API packages locally:
Use the example code to compile
You should be able to compile and find the following snippet in the main.yaml file:
Checklist: