Skip to content
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

metal : more precise Q*K in FA vec kernel #10247

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

ggerganov
Copy link
Owner

@ggerganov ggerganov commented Nov 10, 2024

cont #10171, #10232

Use F32 for the dot products in the FA vec kernel to improve the precision further. The performance is the same.

./llama-cli -m ./models/qwen2.5-7b-coder/ggml-model-f16.gguf -p "I believe the meaning of life is to" -n 128 -s 1 -fa

@ggerganov ggerganov merged commit b0cefea into master Nov 11, 2024
50 checks passed
@ggerganov ggerganov deleted the gg/metal-fa-f32-dot branch November 11, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants