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

Does this support CUDA? #40

Open
SpaceCowboy850 opened this issue Dec 8, 2023 · 1 comment
Open

Does this support CUDA? #40

SpaceCowboy850 opened this issue Dec 8, 2023 · 1 comment

Comments

@SpaceCowboy850
Copy link

I have seen where I can set the GGML_USE_CUBLAS, and I can follow the few #defines that activate the code, but the tensors are all on the CPU. I'm not seeing in bert.cpp where it would transfer the model or the inputs to the GPU.

Is this just not functioning yet?

@skeskinen
Copy link
Owner

I haven't done anything towards CUDA support. How easy/difficult it is to implement depends on ggml, I guess

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

No branches or pull requests

2 participants