Skip to content

CUDA: fix padding logic for FP16/FP32 #8884

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

Conversation

JohannesGaessler
Copy link
Collaborator

As pointed out by #8572 (comment) , the padding logic on master is inconsistent for FP16/FP32. For those data types no padding is added but there is later an attempt to clear the padding. This PR adds a check for quantized data. @forworldm please confirm that the fix works.

@JohannesGaessler JohannesGaessler merged commit 641f5dd into ggml-org:master Aug 6, 2024
53 checks passed
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Aug 7, 2024
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.

3 participants