-
Notifications
You must be signed in to change notification settings - Fork 11.6k
ggml : use atomic_flag for critical section #7598
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
Ok, I will test this tomorrow and let you know. |
I was having actually an almost identical issue just now so will see if it fixes it |
@slaren this worked flawlessly for me I was having an issue that was 100% repeatable and with this change it went right through where it used to get stuck Thank you @fairydreaming for reporting and you for fixing! |
@slaren I ran the modified quantize several times and it never hanged. Looks like the problem is fixed now. |
Should fix a possible deadlock in
quantize
.Fixes #7597
@fairydreaming Can you check if this fixes the issue in your system?