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

CI for build whisper.cpp libraries #27

Merged
merged 34 commits into from
Jun 4, 2023
Merged

CI for build whisper.cpp libraries #27

merged 34 commits into from
Jun 4, 2023

Conversation

Macoron
Copy link
Owner

@Macoron Macoron commented Jun 4, 2023

Added new Github Action for building native C++ libraries of whisper.cpp. It can be run manually by creating your fork and going into Actions => Build C++ => Run workflow. After pipeline completed, download compiled libraries in artifacts tab.

You can choose different whisper.cpp repo and tag/branch that you want to build. By default it's using ggerganov/whisper.cpp and v1.2.1 tag.

Some remarks for each platform:

  • Windows x86_64 - works great, compiled by msbuild
  • Linux x86_64 - compiled in Ubuntu 18.04 docker. This should work on Ubuntu 18.04 and newer
  • MacOS - ARM build works great, but x86_64 build crashes. I suspect there is a bug in original cmake. Should be fixed by new version of whisper.cpp
  • iOS Device/Simulator - works great, no changes
  • Android ARM64 - works, but need very specific version of NDK. Others fail to compile in Unity.
Снимок экрана 2023-06-04 в 11 35 52

Except MacOS x86_64 all binaries compiled correctly and work on my machines.

Fun Fact: gcc build for Ubuntu works up to 20% faster than Windows msbuild on same hardware.

@Macoron Macoron merged commit c91c7f9 into master Jun 4, 2023
4 checks passed
@Macoron Macoron deleted the build-script branch June 4, 2023 10:20
@Macoron Macoron mentioned this pull request Jun 4, 2023
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

Successfully merging this pull request may close these issues.

None yet

1 participant