@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 5282c7d4d0
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 6, 20:30 UTC

[docs] Add lightweight AI assisted contribution policy (#30947)

Signed-off-by: Mark McLoughlin <markmc@redhat.com>

Mark McLoughlin committed Mar 12, 2026 at 11:46 UTC 5282c7d4d0d1487eb283f09d322b0140dea5a968
2 files changed +27
docs/contributing/README.md
+19
@@ -187,6 +187,25 @@ Using `-s` with `git commit` will automatically add this header.
187 - **VSCode**: Open the [Settings editor](https://code.visualstudio.com/docs/configure/settings)
188 and enable the `Git: Always Sign Off` (`git.alwaysSignOff`) field.
189
190 +### AI Assisted Contributions
191 +
192 +When AI tools provide non-trivial assistance in generating or modifying code, you must:
193 +
194 +1. **Review thoroughly**: You remain responsible for all code you submit. Review and understand AI-generated code with the same care as code you write manually.
195 +2. **Disclose in PR**: Always mention when a pull request includes AI-generated code. Add a note in the PR description.
196 +3. **Mark commits**: Add attribution using commit trailers such as `Co-authored-by:` (other projects use `Assisted-by:` or `Generated-by:`). For example:
197 +
198 + ```text
199 + Your commit message here
200 +
201 + Co-authored-by: GitHub Copilot
202 + Co-authored-by: Claude
203 + Co-authored-by: gemini-code-assist
204 + Signed-off-by: Your Name <your.email@example.com>
205 + ```
206 +
207 +AI-assisted code must meet all quality standards: proper testing, documentation, adherence to style guides, and thorough review. Attribution helps reviewers evaluate contributions in context and maintains legal clarity for the project.
208 +
209 ### PR Title and Classification
210
211 Only specific types of PRs will be reviewed. The PR title is prefixed
docs/governance/process.md
+8
@@ -135,6 +135,14 @@ PRs requires at least one committer review and approval. If the code is covered
135
136 In case where CI didn't pass due to the failure is not related to the PR, the PR can be merged by the lead maintainers using "force merge" option that overrides the CI checks.
137
138 +### AI Assisted Contributions
139 +
140 +AI tools can accelerate development, but contributors remain fully responsible for all code they submit. Like the Developer Certificate of Origin, this policy centers on accountability: contributors must believe they have the right to submit their contribution under vLLM's open source license, regardless of how the code was created.
141 +
142 +All AI-assisted contributions must meet the same quality, testing, and review standards as any other code. Contributors must review and understand AI-generated code before submission—just make sure it is good code.
143 +
144 +Attribution preserves legal clarity and community trust. Contributors must disclose AI assistance in pull requests and mark commits with appropriate trailers (e.g. `Co-authored-by:`).
145 +
146 ### Slack
147
148 Contributors are encouraged to join `#pr-reviews` and `#contributors` channels.