YuE2 vs MusicGen
Both are open, both have non-commercial weights, and they sit at opposite ends of the same field. YuE2 composes songs you can edit as notation; MusicGen generates instrumental audio you can condition on a melody.
Side by side
| YuE2 | MusicGen | |
|---|---|---|
| Output | 48 kHz stereo, full songs | 32 kHz mono instrumental |
| Approach | Plans an editable score, then renders it | Direct audio-token generation |
| Licence (weights) | CC BY-NC 4.0 | CC-BY-NC 4.0 |
| Vocals | Yes | No |
| Editing | Edit the ABC score and re-render | Continuation only |
| Melody conditioning | Supply your own score | musicgen-melody via chroma |
| VRAM | 24 GB, no quantised fallback | 16 GB for medium, ~4 GB for small |
| OS | Linux only | Linux Windows macOS |
| Covers | Zero-shot via SheetSage2 transcription | No |
Where they actually differ
One writes music, the other writes audio
YuE2 produces a melody-and-chord plan in ABC notation before any audio exists, so you can read it, play it, change a chord and re-render. MusicGen goes straight to audio tokens — there is no intermediate representation to inspect. If you think like a composer rather than a prompter, that difference is the entire argument.
Hardware is where YuE2 loses
YuE2 documents Linux, Python 3.12 and a BF16-capable NVIDIA GPU with 24 GB, with no quantised path. MusicGen small runs on about 4 GB and works on Windows and, awkwardly, macOS. A great model you cannot run is worth less than a decent one you can.
Neither solves licensing
Both carry non-commercial weights — YuE2 CC BY-NC 4.0, MusicGen CC-BY-NC 4.0 — despite permissive code licences on both sides. For commercial work the answer is neither; it is ACE-Step.
Covers are a YuE2-only capability
Transcribe a recording to a score with SheetSage2, hand the score back with a new style prompt, and YuE2 reinterprets it. Reported cover identity retention is 0.647 CLEWS mAP with a score versus 0.006 without — essentially all of it comes from the symbolic plan. MusicGen’s melody conditioning is a much blunter instrument by comparison.
Which should you choose?
Choose YuE2 when…
- You want the best open song quality, with vocals
- You want to edit the composition before rendering
- You are doing zero-shot covers
- You have Linux and a 24 GB NVIDIA GPU
Choose MusicGen when…
- You need instrumental texture, not songs
- You want to condition on a hummed melody
- You are on Windows or macOS, or have a modest GPU
- You want the simpler, better-documented path