-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[doc] Jobflow parameter overrides #4411
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
[doc] Jobflow parameter overrides #4411
Conversation
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.
Pull Request Overview
This PR introduces a design document for the new JobFlow parameter overriding feature, outlining motivation, user stories, and intended design sections.
- Adds a new markdown file describing how users can reference and patch job-template parameters.
- Provides summary, motivation, and user story placeholders.
- Defines a Table of Contents and skeleton for design details.
Comments suppressed due to low confidence (3)
docs/design/jobflow/job-template-parameter-overriding.md:11
- The TOC includes a link to the top-level section, which is redundant since it's the document title; consider removing this entry for clarity.
- [Job Template Parameter Overriding](#job-template-parameter-overriding)
docs/design/jobflow/job-template-parameter-overriding.md:34
- The example code block is empty; please provide a representative YAML snippet illustrating how users override parameters in their FlowSpec.
```yaml
docs/design/jobflow/job-template-parameter-overriding.md:38
- The 'Design Details' section is currently a placeholder; please flesh out the Data Structure and Queue State subsections as outlined in the TOC.
## Design Details
lowang-bh
left a comment
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.
please squash your commits.
4a62897 to
bed2b1f
Compare
bed2b1f to
87b1b80
Compare
done. |
| name: train-job | ||
| spec: | ||
| containers: | ||
| - name: cnn-mnist-torch |
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.
If there are multiple containers in a pod, should we replace it by name? If the name does not match, should we add the container?
@mahdikhashan
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.
Other sections, such as volumes and envs
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.
yes, you are right. I'll review the proposal and adjust it considering this scenarios.
|
i addressed your feedback, please take a look when you have time @dongjiang1989 |
dongjiang1989
left a comment
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
|
BTW, Please fix DCO |
|
Please merge to one clean commit: ) |
95d8b22 to
238a6b9
Compare
|
done. |
Signed-off-by: mahdikhashan <[email protected]>
238a6b9 to
b3aaba0
Compare
|
/cc @hwdef |
|
/approve |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dongjiang1989, Monokaix 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 |
What type of PR is this?
Design Document
What this PR does / why we need it:
It explains the details for new feature called job-flow parameter overriding.
Which issue(s) this PR fixes:
part of #4275
Special notes for your reviewer:
TODO
Does this PR introduce a user-facing change?