contrib : clarify code origin guidelines#21165
Conversation
@ddh0 So let's say I'm implementing support for new model and it's merged in ik_llama.cpp first. Then I can't submit that PR to llama.cpp anymore? |
I don't know - hence the PR and ping to core maintainers. |
I don't think that case is a problem at all, you authored both PRs. The question is what to do with ports of ik features to llama.cpp. Those have usually been denied. In your case the hadamard operator, I guess. |
|
Pinging @ggerganov, @JohannesGaessler, @ngxson - what do you think about these changes? I am hoping to clarify the current stance of the llama.cpp project in writing, for future contributors. Thanks. |
JohannesGaessler
left a comment
There was a problem hiding this comment.
Would be fine with me.
|
@ddh0 But what do you mean by a code "to originate from ik_llama.cpp"? |
Interpretation would be up to the maintainer / reviewer on a case-by-case basis, presumably. |
So far every time the policy was relevant it was a case of someone directly copying code from ik_llama.cpp. Those cases are completely unambiguous. And I don't think we'll have any ambiguous cases either; looking at the contributors to ik_llama.cpp there basically isn't anyone other than IK himself. |
|
I understand that some maintainers of llama.cpp may not want any code authored by some specific person if there's a conflict. If they are going to reject all PRs containing code authored by this person regardless of circumstances it's worth adding that to CONTRIBUTING.md as it's important information that makes life simpler for contributors. But the part about ik_llama.cpp project puts me off and makes me confused. I have no idea what it could possibly mean - what are the specific cases this parts covers that are not already covered by the person-specific part? |
@JohannesGaessler I get it they were unambiguous to you - but the point of this PR is to make it unambiguous for everyone so they people don't have to waste time by researching the conflict, its current state and overall implications.
I checked and there are several dozen people that contributed to ik_llama.cpp in the past year. And most importantly: Happy Easter! 🥚🐣🐥🐤 |
Overview
This PR updates the contributing guidelines to add a new section. At the time of posting, the section reads as follows:
Future readers are encouraged to view the diff of this PR, in case anything has changed. After this PR is merged, readers should instead refer to the current content of CONTRIBUTING.md, and should disregard this PR.
I also edited all Markdown headers except the first one from
#to##, such that the document now has a proper structure with a heading. I consider the new section to be the only substantial change.Motivation
In #19726 and #21149 (and probably other instances), code was rejected the basis of its origin. In both cases, the contributors were not necessarily aware of the stance of llama.cpp with respect to what is allowed, and what is not.
I hope that this addition can clarify things for contributors, and reduce the amount of friction in the future. I welcome feedback from any maintainers, in particular @ggerganov and @JohannesGaessler. Thank you.
Requirements