Repository navigation
Add MuLaCover cover-song generation - #1226
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.
Adds MuLaCover cover-song generation from reference audio or melody/chord MIDI, with new lyrics, style conditioning and optional drum MIDI. The complete F16/Q8 packages load through the framework spec-v1 GGUF contract.
The generator is model-local and uses framework decoder modules, weight helpers and bounded 16-bit KV caches. HeartCodec uses its existing shared runtime; there is no dependency on the HeartMuLa model implementation. Decode buckets and codebook heads share scratch buffers, and preprocessing/prefill/codec workspaces are released after use. The framework MIDI module gains an additive tick-based reader; existing MIDI writing and note cleanup are unchanged.
Includes conversion tools, usage documentation and upstream license notices. Upstream restricts both weights and generated outputs to noncommercial use.
Performance
Q8_0 on RTX 5090, eight threads, default sampling and codec settings. The same 514-character lyrics and melody/chord/drum MIDI were used on both backends. One short warmup followed by two requests with different seeds; all stopped naturally, producing 188–195 seconds of audio.
RTF is total generation time divided by total generated audio across the two measured requests. Peak VRAM is the maximum process reading during those requests. CUDA uses BF16 activation rounding/KV storage; Vulkan uses F16.
Validation