Skip to content

Test different hardware acceleration methods out with whisper.cpp - #109

Open
mike-malburg wants to merge 32 commits into
mainfrom
ip/whisper-cpp-hwaccels
Open

Test different hardware acceleration methods out with whisper.cpp#109
mike-malburg wants to merge 32 commits into
mainfrom
ip/whisper-cpp-hwaccels

Conversation

@mike-malburg

Copy link
Copy Markdown
Collaborator

No description provided.

Adding whisper models so we can test whisper builds post-build on the server.
The build servers put AVX-512 instructions into the build even if we don't specifically enable it, so we need to force it to NOT do this if we don't have a feature flag specifically turned on for this.  This is important, because even though the build server may support avx-512, customer machines may NOT, and having those instructions present in the dll can cause crashes in whisper.
We will use these to perform tests on whisper builds.
With always(), logs are now published regardless of build outcome
(success, failure, or cancellation), as long as:
- publishToPipelineArtifacts parameter is enabled
- Logs exist in the staging directory
We will need this later to detect if we need to install certain prerequisites on the machine before building (ex. Vulkan SDKs for Vulkan).
Update the existing pre-build scripts to accept this new param we are now passing to them
Add accelerate framework support for whisper.  This is basically Apple's way of doing BLAS.
This will cause the pipeline to build on an Apple Silicon Mac.  This image is not production-ready, yet, according to Microsoft.  I am just temporarily adding this here so that I can easily run tests on an Apple Silicon Mac while testing this pipeline.
We previously had 2 whisper ports that were nearly identical: whispercpp and whispercpp-basic.  The changes in this branch have allowed us to move this to one port that just takes different feature flags.  These old ports are now obsolete.
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.

1 participant