-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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
Use aligned_alloc() if aligned allocations are required #880
Comments
The proposed fix does not work on Windows (MSVC), since it does not implement |
Specifically, you’d need to use |
@prusnak Yes thanks! That works for me! |
jeroen-mostert
pushed a commit
to jeroen-mostert/llama.cpp
that referenced
this issue
Aug 30, 2024
Fixes compile issues on Windows with w64devkit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
quantize should run and not abort with an assertion failure
Current Behavior
Environment and Context
NetBSD 9.3
Failure Information (for bugs)
The memory allocated by malloc is alingned to 8, not 16 (GGML_MEM_ALIGN)
Fix:
The text was updated successfully, but these errors were encountered: