-
Notifications
You must be signed in to change notification settings - Fork 62
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
bark.cpp is not using gpu #181
Comments
I was wondering the same - but found this in the issues: #165 |
have you checked the number of n_gpu_layers? for me, that's where the problem is coming from cause if the number of the gpu layers is not greater than 0, it will run on CPU |
Same issue, in the bark_context n_gpu_layers is default initialized to 0, but then neither main nor server offer to possibility to set it. What should it be? does it need to be calculated form the model? |
Im just getting here. So im assuming the Metal support check box in the readme just isnt true? Has anyone been able to implement the feature themselves or will I have to do more digging. |
@PABannier I see that n_gpu_layers is configurable only via examples, but if we want to build bark as a dynamic library, n_gpu_layers is not exposed via bark.h |
inspite of turning on GGML_CUBLAS it is not using gpu. When running bark, it still says using CPU backend. How to force it to use gpu? there is no --cuda option.
The text was updated successfully, but these errors were encountered: