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

Version for Windows on Arm? #2132

Open
geekinchief22 opened this issue May 8, 2024 · 1 comment
Open

Version for Windows on Arm? #2132

geekinchief22 opened this issue May 8, 2024 · 1 comment

Comments

@geekinchief22
Copy link

I want to be able to run this on a laptop with Windows on Arm and Qualcomm Snapdragon CPU. Is there a way to compile it for Windows on Arm and, if so, would it take advantage of the Snapdragon's NPU?

@przemoc
Copy link
Contributor

przemoc commented May 8, 2024

You could try using MSYS2 and build whisper.cpp using make or cmake in CLANGARM64 environment.

CI build definition shows what packages to install (pacman -S PACKAGE_NAME...):

https://github.com/ggerganov/whisper.cpp/blob/master/.github/workflows/build.yml#L253

I don't have ARM64 device w/ Windows, so cannot test it myself, but I would expect it to work more or less.

Afterall, there is relevant whisper.cpp package in MSYS2 already, mingw-w64-clang-aarch64-whisper.cpp, so instead of building whisper.cpp yourself, you could just download and use this package.

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