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

move BLAS to a separate backend #6210

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

move BLAS to a separate backend #6210

wants to merge 1 commit into from

Conversation

slaren
Copy link
Collaborator

@slaren slaren commented Mar 21, 2024

Moves BLAS support from ggml.c to a separate backend.

Adds support for fallback to CPU to ggml_backend_sched, which allows using backends that only implement some operations, such as matrix multiplication.

Performance is not good at the moment, do not test this yet.

@ggerganov this will also have the effect that using BLAS will require using ggml-backend and ggml_backend_sched, is that a problem?

@ggerganov
Copy link
Owner

this will also have the effect that using BLAS will require using ggml-backend and ggml_backend_sched, is that a problem?

Will just need to adapt whisper.cpp when it's ready

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.

None yet

2 participants