Repository navigation
Fix RMVPE stream lookup with dynamic CUDA backends - #1321
Merged
Merged
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.
CUDA Docker builds enable CPU backend variants, which also enables dynamically loaded GGML backends. RMVPE directly referenced
ggml_backend_cuda_get_stream, causing the CLI link to fail for CUDA 12/13 on both amd64 and arm64.Use the existing
core::backend_cuda_stream()helper for the transpose-convolution and GRU stream lookups. It resolves the function through the loaded backend registry. Only the RMVPE CUDA source changes; kernel math and launch settings remain unchanged.Validation:
GGML_BACKEND_DL=ON: CLI builds and links.git diff --checkpasses.The full CUDA 12/13 and arm64 Docker matrix was not rerun locally. CI is intentionally skipped for this PR.