8000 ggml-cpu : remove the weak alias trick by xctan · Pull Request #14221 · ggml-org/llama.cpp · GitHub
[go: up one dir, main page]

Skip to content

ggml-cpu : remove the weak alias trick #14221

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
Jun 17, 2025

Conversation

xctan
Copy link
Collaborator
@xctan xctan commented Jun 16, 2025

The behavior of weak aliases is inconsistent across different compilers and linkers. This PR removes our reliance on them to prevent potential issues. We now manage the selection of native kernels manually instead of relying on the linker.

Fixes #14134, #14138.

@xctan xctan requested a review from ggerganov June 16, 2025 17:18
@github-actions github-actions bot added the ggml changes relating to the ggml tensor library for machine learning label Jun 16, 2025
@ggerganov ggerganov merged commit 860a9e4 into ggml-org:master Jun 17, 2025
46 of 47 checks passed
Nexesenex added a commit to Nexesenex/croco.cpp that referenced this pull request Jun 18, 2025
Nexesenex added a commit to Nexesenex/croco.cpp that referenced this pull request Jun 18, 2025
Nexesenex added a commit to Nexesenex/croco.cpp that referenced this pull request Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ggml changes relating to the ggml tensor library for machine learning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Misc. bug: Performance regression on aarch64 q4_0
3 participants
0