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

support GPU or not ? #73

Closed
EricKong1985 opened this issue Aug 14, 2023 · 6 comments
Closed

support GPU or not ? #73

EricKong1985 opened this issue Aug 14, 2023 · 6 comments

Comments

@EricKong1985
Copy link

I have checked the project description that :
The main goal of bark.cpp is to synthesize audio from a textual input with the Bark model in efficiently using only CPU.

Could I know the it support GPU or not ? I suppose that using GPU should be more faster that using CPU

@PABannier
Copy link
Owner

Hi @EricKong1985 ! We could support GPU with OpenCL. Currently, we are focusing on removing any bugs from the library and making it fast for CPU. If you're willing to add support for GPUs, I'm happy to guide you in the process.

@PABannier
Copy link
Owner

TODO: Support ggml-cuda for GPU acceleration

@crackedpotato007
Copy link

Any updates on this?

@PABannier
Copy link
Owner

@arnav7633 I have this ongoing PR #124 to integrate the latest changes from encodec.cpp and ggml (which includes ggml-cuda). Currently, I do not have time to merge it, but I plan to do it by the end of the year.

@PABannier
Copy link
Owner

@crackedpotato007 @EricKong1985 The support for GPU has landed with CUDA and #139 . If you want to give it a try, i'd be happy to have your feedbacks

@crackedpotato007
Copy link

Extremely sorry, for being... a few months late.

Had my uni exams so i was rarely checking my notifs or bothering to reply to them. How do i go about using the GPU? Running the interference in the examples section doesn't use my GPU at all

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

3 participants