-
Notifications
You must be signed in to change notification settings - Fork 13.7k
ggml-cpu : inspect -march and -mcpu to found the CPU #16333
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
ggml-cpu : inspect -march and -mcpu to found the CPU #16333
Conversation
|
Thanks for working on this, I can still meet that issue on my Debian 12 VM in Mac M4 Pro after adpot your patch, GCC 12.2: The cmake config output: |
|
At least the code works as expected 😅 But yes, something is really wrong here too: I dont think it's related to this PR, this is another issue to me. Could you share the output of these commands: and on the M4 and inside the VM: |
d12f6df to
5924aed
Compare
ae30ab2 to
267f8d5
Compare
Signed-off-by: Adrien Gallouët <[email protected]>
92269b6 to
475b1d3
Compare
|
This is alternative to #16239, correct? |
|
Ideally, we should stop relying on the compiler, which is known to be broken and unstable. I plan to integrate something similar to what I did here at some point: https://github.com/angt/target-features |
This is related to the PR #16239