Skip to content

metal : fix floating-point range of attention scores in FA kernels #13090

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
Apr 24, 2025

Conversation

ggerganov
Copy link
Member

cont #12688
ref #12946 (comment)

Models such as GLM 4 seem to require wider floating-point range for the attention.

@github-actions github-actions bot added ggml changes relating to the ggml tensor library for machine learning Apple Metal https://en.wikipedia.org/wiki/Metal_(API) labels Apr 24, 2025
@ggerganov ggerganov merged commit 7604a7d into master Apr 24, 2025
52 checks passed
@ggerganov ggerganov deleted the gg/metal-fix-fp-range branch April 24, 2025 07:38
pockers21 pushed a commit to pockers21/llama.cpp that referenced this pull request Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apple Metal https://en.wikipedia.org/wiki/Metal_(API) ggml changes relating to the ggml tensor library for machine learning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant