Skip to content

CUDA: fix matrix multiplication logic for tests - #6667

Merged
JohannesGaessler merged 1 commit into
ggml-org:masterfrom
JohannesGaessler:cuda-fix-tests-pascal
Apr 13, 2024
Merged

JohannesGaessler merged 1 commit into
ggml-org:masterfrom
JohannesGaessler:cuda-fix-tests-pascal

Conversation

@JohannesGaessler

Copy link
Copy Markdown
Contributor

This PR fixes tests/test-backend-ops on Pascal. The issue is that the tests pass an instance of src1 with GGML_TYPE_F16. This does not happen during actual inference and was therefore not considered for the logic for selecting a matrix multiplication kernel. For Pascal cards other than the P100 there is no fast evaluation code available either. But since this is a case that does not appear during actual inference it's fine to use the slow code for the tests only. Ceveat: (I think) the tests still fail on Maxwell but honestly I don't think it would be worth the effort to investigate and fix.

@JohannesGaessler
JohannesGaessler merged commit b5e7285 into ggml-org:master Apr 13, 2024
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
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