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 M1/2 - With GPU / Neural Engine acceleration #21

Open
100tomer opened this issue Apr 15, 2023 · 4 comments
Open

Support M1/2 - With GPU / Neural Engine acceleration #21

100tomer opened this issue Apr 15, 2023 · 4 comments
Labels
enhancement New feature or request long-term goal Ambitious objective that requires extended period to achieve.

Comments

@100tomer
Copy link

I don't know if it's even possible, but it would be cool and efficient to have it run on M1/2 with GPU or Neural Engine

@tomchang25
Copy link
Owner

Hi @100tomer,

Currently, whisper kernel does not support the GPU acceleration library for Apple, which is far beyond my capabilities.
However, I have learned that there is a project underway to address this issue.

As an alternative solution, I will release a light-weight version(#19) that will achieve satisfactory results by compressed audio and through OpenAI API integration.
This should be completed in the near future and included in version 3.1.

@tomchang25 tomchang25 added future work May consider implementing this in the future long-term goal Ambitious objective that requires extended period to achieve. labels Apr 15, 2023
@100tomer
Copy link
Author

Hi @100tomer,

Currently, whisper kernel does not support the GPU acceleration library for Apple, which is far beyond my capabilities.

However, I have learned that there is a project underway to address this issue.

As an alternative solution, I will release a light-weight version(#19) that will achieve satisfactory results by compressed audio and through OpenAI API integration.

This should be completed in the near future and included in version 3.1.

Thanks, sounds great

@Hans-han
Copy link

it is actually not faster with GPU. there is a cpp version of Whisper which is also on GitHub. The author tested the GPU vs CPU and found it is close in terms of performence . his guess was the bandwidth is the limitation.

@100tomer
Copy link
Author

it is actually not faster with GPU. there is a cpp version of Whisper which is also on GitHub. The author tested the GPU vs CPU and found it is close in terms of performence . his guess was the bandwidth is the limitation.

Oh that's the ram bandwidth? Or the SSD bandwidth? Also does it use GPU only or the Neural Engine too?

@tomchang25 tomchang25 added enhancement New feature or request and removed future work May consider implementing this in the future labels Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request long-term goal Ambitious objective that requires extended period to achieve.
Projects
None yet
Development

No branches or pull requests

3 participants