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 matrix multiplication logic for tests #6667

Merged

Conversation

JohannesGaessler
Copy link
Collaborator

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 ggerganov:master Apr 13, 2024
56 of 59 checks passed
tybalex pushed a commit to rubra-ai/tools.cpp that referenced this pull request Apr 17, 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.

2 participants