Skip to content

ggml: correct behaviour of ggml_vec_sum_f32 #390

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

Merged
merged 1 commit into from
Jan 8, 2023

Conversation

abitofevrything
Copy link
Contributor

Assuming the new implementation with accelerate is correct, the implementation of ggml_vec_sum_f32 has been wrong since the initial release. This PR corrects the behaviour.

@ggerganov ggerganov merged commit 8d7b29c into ggml-org:master Jan 8, 2023
@ggerganov
Copy link
Member

Oops 🤦
I introduced this bug yesterday with d51fc3e

Thanks for spotting this!

@ggerganov
Copy link
Member

Ah, I see what you mean: for some reason we always had *s += sum and now we have *s = sum.
Hmm.. not sure which one is correct. Need to see how it is used.

@abitofevrything abitofevrything deleted the bug/vec_sum branch January 8, 2023 18:55
rock3125 pushed a commit to rock3125/whisper.cpp that referenced this pull request Feb 21, 2023
rock3125 pushed a commit to rock3125/whisper.cpp that referenced this pull request Feb 21, 2023
anandijain pushed a commit to anandijain/whisper.cpp that referenced this pull request Apr 28, 2023
anandijain pushed a commit to anandijain/whisper.cpp that referenced this pull request Apr 28, 2023
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
iThalay pushed a commit to iThalay/whisper.cpp that referenced this pull request Sep 23, 2024
iThalay pushed a commit to iThalay/whisper.cpp that referenced this pull request Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants