Repository navigation
feat(cuda): bundle Linux runtime libraries - #7
Merged
Merged
Conversation
Chadpiha
approved these changes
Oct 21, 2026
Chadpiha
left a comment
There was a problem hiding this comment.
Looks good. Bundling cudart/cuBLAS/cuBLASLt with a `$ORIGIN` RUNPATH matches what the Windows CUDA build already does, and the verify step fails the build instead of shipping a bad package.
Notes before tagging 0.0.11:
- This workflow only runs on dispatch or tag, so it hasn't run in CI yet. The release run will be its first real test.
- The verify step checks that libcudart and libcublas resolve from `dist/`, but not libcublasLt. Please do the manual check from the PR description on the unpacked artifact, with `/usr/local/cuda-12.9` unavailable.
- The download gets a lot bigger: libcublasLt is several hundred MB and goes into both the whisper-cpp and whisper-server zips.
- Publish it as a new tag. Don't re-upload assets to 0.0.10, because the app checks pinned SHA-256 digests.
After the release, openwhispr#1982 needs `WHISPER_CPP_TAG` and the Linux CUDA digests updated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
libcudart,libcublas, andlibcublasLtwith Linux CUDA artifacts.$ORIGINRUNPATH so binaries load the bundled libraries.libcuda.so.1driver-provided.Release coordination
This PR must be merged and released before the corresponding OpenWhispr application PR can ship: OpenWhispr/openwhispr#1982
After publishing the new whisper.cpp tag, the OpenWhispr PR must update
WHISPER_CPP_TAGand the matching Linux CUDA artifact digest insrc/helpers/whisperCudaManager.js.Validation
readelfandldd.Before release
/usr/local/cuda-12.9unavailable, ensuring no installed Toolkit libraries can hide a missing packaged dependency.libcudart,libcublas, andlibcublasLtall resolve from the packaged artifact.Maintenance note
CUDA
12.9, CUDA major version12, and/usr/local/cuda-12.9currently appear in several workflow locations. A future cleanup can move these values into top-level GitHub Actionsenv:constants so CUDA upgrades require fewer coordinated edits. This is workflow maintenance only and does not require repository secrets or settings.Supports OpenWhispr/openwhispr#1415.
Supports OpenWhispr/openwhispr#945.