audio-cpp/Yue2-3B-GGUF
Yue2-3B GGUF for audio.cpp
This repository contains audio.cpp-native GGUF weights for Yue2-3B. The model has been merged into the main branch.
LoRA support added in release 0.8.1.
Files
Demos
The demos below were generated with yue2-3b-bf16.gguf and yue2-vae-f32.gguf. The _q8.wav comparison files were generated with yue2-3b-q8_0.gguf and yue2-vae-f16.gguf using the same prompts and seeds. The _q4_0.wav comparison files were generated with yue2-3b-q4_0.gguf and yue2-vae-f16.gguf. Replace <AUDIOCPP> with your audio.cpp checkout and <YUE2_GGUF> with this downloaded GGUF repo directory. To generate the Q40 versions, use the same commands and replace `--session-option yue2.modelgguf=yue2-3b-bf16.gguf with --session-option yue2.modelgguf=yue2-3b-q40.gguf, and use --session-option yue2.vae_gguf=yue2-vae-f16.gguf`.
Longform Performance
Measured with audio.cpp server mode on an RTX 5090, using the official tonight-awake longform example. Each run restarted the server and used one short warmup request before the measured longform request. Peak VRAM was sampled continuously during the measured request.
WebUI demo video
Sorry if the UI is a bit rough. I’m not a UI person and probably messed up some of the nice community UI work while wiring this up.
<video controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/yue2_demo.mp4"></video>
This WebUI demo uses the official Yue2 `examples/tonight-awake.json` test case.
Demo 1: direct generation
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/demo1.wav"></audio>
Q8 + F16 VAE:
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/demo1_q8.wav"></audio>
Q4_0 + F16 VAE:
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/demo1q40.wav"></audio>
<AUDIOCPP>/build/debug/bin/audiocpp_cli \
--task gen \
--family yue2 \
--model <YUE2_GGUF> \
--backend cuda \
--threads 8 \
--text $'[Verse]\nSoft morning light is touching the window.\nI hear the city waking below.\n[Chorus]\nStay with the rhythm, let it carry us home.\nSing with the sunrise, we are never alone.' \
--request-option 'style=English, indie pop, bright acoustic guitar, soft drums, warm lead vocal, polished demo mix' \
--request-option cot=off \
--request-option seed=20260920 \
--request-option num_inference_steps=8 \
--session-option yue2.model_gguf=yue2-3b-bf16.gguf \
--session-option yue2.vae_gguf=yue2-vae-f32.gguf \
--out demo1.wav \
--logDemo 2: full planning
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/demo2.wav"></audio>
Q8 + F16 VAE:
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/demo2_q8.wav"></audio>
Q4_0 + F16 VAE:
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/demo2q40.wav"></audio>
<AUDIOCPP>/build/debug/bin/audiocpp_cli \
--task gen \
--family yue2 \
--model <YUE2_GGUF> \
--backend cuda \
--threads 8 \
--text $'[Verse]\nA quiet piano opens the evening.\nWarm city lights are starting to glow.\n[Chorus]\nLift every voice into the skyline.\nLet the melody carry us home.' \
--request-option 'style=English, piano pop, clear lead vocal, gentle bass, soft drums, warm chorus harmonies' \
--request-option cot=full \
--request-option seed=20260921 \
--request-option num_inference_steps=8 \
--session-option yue2.model_gguf=yue2-3b-bf16.gguf \
--session-option yue2.vae_gguf=yue2-vae-f32.gguf \
--out demo2.wav \
--logDemo 3: melody-conditioned cover
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/demo3.wav"></audio>
Q8 + F16 VAE:
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/demo3_q8.wav"></audio>
Q4_0 + F16 VAE:
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/demo3q40.wav"></audio>
This demo uses the upstream `examples/melody.abc`.
<AUDIOCPP>/build/debug/bin/audiocpp_cli \
--task gen \
--family yue2 \
--model <YUE2_GGUF> \
--backend cuda \
--threads 8 \
--text $'[Verse]\nWe follow the melody line.\nThe rhythm keeps everything fine.\n[Chorus]\nHold that shape and make it new.\nChange the color, keep the view.' \
--request-option 'style=English, jazz funk cover, warm Rhodes, round bass, light drums, relaxed vocal, clean live band feel' \
--request-option cot=melody \
--request-option abc_file=<AUDIOCPP>/reference/YuE/examples/melody.abc \
--request-option seed=20260922 \
--request-option num_inference_steps=8 \
--session-option yue2.model_gguf=yue2-3b-bf16.gguf \
--session-option yue2.vae_gguf=yue2-vae-f32.gguf \
--out demo3.wav \
--logDemo 4: full score conditioning
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/demo4.wav"></audio>
Q8 + F16 VAE:
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/demo4_q8.wav"></audio>
Q4_0 + F16 VAE:
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/demo4q40.wav"></audio>
This demo uses the upstream `examples/score-jazz.abc`.
<AUDIOCPP>/build/debug/bin/audiocpp_cli \
--task gen \
--family yue2 \
--model <YUE2_GGUF> \
--backend cuda \
--threads 8 \
--text $'[Verse]\nThe room begins with a gentle phrase.\nThe harmony turns through a golden haze.\n[Chorus]\nHold the note and let it rise.\nMorning opens up the sky.' \
--request-option 'style=English, piano pop with jazz harmony, clear lead vocal, gentle bass, tasteful drum fills' \
--request-option cot=full \
--request-option abc_file=<AUDIOCPP>/reference/YuE/examples/score-jazz.abc \
--request-option seed=20260923 \
--request-option num_inference_steps=8 \
--session-option yue2.model_gguf=yue2-3b-bf16.gguf \
--session-option yue2.vae_gguf=yue2-vae-f32.gguf \
--out demo4.wav \
--logOfficial example: tonight-awake
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/tonight-awake-audiocpp-current.wav"></audio>
Q8 + F16 VAE:
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/tonight-awake-audiocpp-current_q8.wav"></audio>
Q4_0 + F16 VAE:
<audio controls src="https://huggingface.co/audio-cpp/Yue2-3B-GGUF/resolve/main/examples/tonight-awake-audiocpp-currentq40.wav"></audio>
This WAV was generated using audio.cpp from the official Yue2 example: `examples/tonight-awake.json`.
Upstream
These GGUF files are converted from:
- Upstream HF repo: `m-a-p/YuE2-3B`
- Upstream revision used for this package:
1a96eca688d6ae5d7f0feb88573fec89920fcd19
License
The upstream model is released under cc-by-nc-4.0. This GGUF package follows the same license. See the upstream repository for the full license terms and model card details.
