Skip to content

Vulkan: Use improved q4_k and q5_k dequant code in dequant shaders #10798

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
Dec 12, 2024

Conversation

0cc4m
Copy link
Collaborator

@0cc4m 0cc4m commented Dec 12, 2024

I ported the q4_k and q5_k GLSL optimizations to the dequant shaders, this means the backend does not trigger the shader compile error on Qualcomm Adreno devices anymore (see #5186).

@0cc4m 0cc4m requested a review from jeffbolznv December 12, 2024 13:38
@github-actions github-actions bot added Vulkan Issues specific to the Vulkan backend ggml changes relating to the ggml tensor library for machine learning labels Dec 12, 2024
Copy link
Collaborator

@jeffbolznv jeffbolznv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I won't have time to test it today, but please go ahead.

@0cc4m 0cc4m merged commit 4064c0e into master Dec 12, 2024
2 checks passed
@0cc4m 0cc4m deleted the 0cc4m/vulkan-imp-dequant-q4k-q5k branch December 12, 2024 17:36
mglambda pushed a commit to mglambda/llama.cpp that referenced this pull request Mar 8, 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 Vulkan Issues specific to the Vulkan backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants