Skip to content

Fix RMVPE stream lookup with dynamic CUDA backends - #1321

Merged
0xShug0 merged 1 commit into
mainfrom
fix/rmvpe-dynamic-cuda-stream
Nov 17, 2026
Merged

0xShug0 merged 1 commit into
mainfrom
fix/rmvpe-dynamic-cuda-stream

Conversation

@0xShug0

@0xShug0 0xShug0 commented Nov 17, 2026

Copy link
Copy Markdown
Owner

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:

  • Isolated Linux x86_64 Debug build with CUDA 12.9, CPU variants and GGML_BACKEND_DL=ON: CLI builds and links.
  • Linking the original RMVPE object reproduces both undefined references.
  • ROSVOT CUDA inference on a 14-second audio input completes through native RMVPE and produces note output.
  • git diff --check passes.

The full CUDA 12/13 and arm64 Docker matrix was not rerun locally. CI is intentionally skipped for this PR.

@0xShug0
0xShug0 merged commit 6f71a3b into main Nov 17, 2026
@0xShug0
0xShug0 deleted the fix/rmvpe-dynamic-cuda-stream branch November 17, 2026 05:31
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