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

CUDA: fix shared memory access condition for mmv #10740

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

JohannesGaessler
Copy link
Collaborator

Fixes #10739 .

The memory access condition in the mmv kernel is wrong. Only WARP_SIZE floats are supposed to be used so all threads with an index >= WARP_SIZE need to return.

@github-actions github-actions bot added Nvidia GPU Issues specific to Nvidia GPUs ggml changes relating to the ggml tensor library for machine learning labels Dec 9, 2024
@JohannesGaessler JohannesGaessler merged commit 26a8406 into ggerganov:master Dec 9, 2024
47 checks passed
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Dec 20, 2024
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 Nvidia GPU Issues specific to Nvidia GPUs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Eval bug: llama-server: illegal memory access was encountered
2 participants