feat(cuda): bundle Linux runtime libraries - #7
Open
IdrisGit wants to merge 1 commit into
Open
Conversation
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.