-
Notifications
You must be signed in to change notification settings - Fork 1.4k
cuda : deterministic and faster k_copy_src1_to_contiguous #1178
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
Conversation
JohannesGaessler
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.
The code on master is deterministic in terms of results. What is not deterministic is how the work is distributed to CUDA blocks but I don't think that matters.
|
A quick benchmark after synchronization changes to show that it's still faster:
|
|
@CISC Please preserve the authorship of these patches as it was already suggested (#1174 (comment)). |
It feels wrong to fake authorship of the actual commits. Attribution in the PR itself (which can not be a direct upstream of the code anyway) should be sufficient? Anyway, maybe it's better to ask @ikawrakow directly what his feelings about this is? Edit: I see it's possible to have different author and committer, but it seems the best the GitHub interface can do (which I have to use for most of my commits) is co-authorship. |
In general I don't mind people copying my code, else I wouldn't be publishing it under a MIT license. But |
It is not my observation. I get a different result each time I run the code on |
What address would you like attributed, actual or the one in AUTHORS? |
You're right, I misremembered how the code works. |
|
I'm reopening a new PR with co-authorship, the address in AUTHORS seems to link correctly. |
Interesting approach. Because at some point in the past I contributed to this repository, from there on any original work I produce can be freely copied into here, and the attribution is covered by me being included in a list of a few hundred authors with a no-reply address? |
Only work published under a compatible license of course. The AUTHORS list is generated from git history, which is the only manageable way in a project with so many contributors I guess. Anyway, I'm more than happy to make any additional attributions you wish, it is your work, and I'm very grateful for it! |
Upstreamed from ikawrakow/ik_llama.cpp#283 and ikawrakow/ik_llama.cpp#313