YuE from GitHub, run online without the GPU
The YuE repository on GitHub asks for a big GPU. Here the same model runs in the cloud with the same arguments, and every run exports as genre.txt, lyrics.txt and a run.sh for the day you have the hardware.
Independent platform, not affiliated with HKUST or M-A-P. YuE is a trademark of its owner.
ACE-Step is preselected: an ACE-Step run costs 92 credits, which the sign-up credits cover. Pick YuE when you have the credits for a YuE run.
Genre, instrument, mood, voice gender and timbre, e.g. folk acoustic male warm vocal.
Leave empty for a random seed (0–2147483647); the run records the seed it used, so you can repeat it.
Your run shows here: the stages as they happen, then the trace and the player.
Recipe preview
Fill in genre and lyrics to see the recipe this run would use.
From the repository to a run here
- 01
Bring your files
Load the genre.txt and lyrics.txt you would pass to infer.py, or type them into the bench.
- 02
Set the arguments
--run_n_segments, --max_new_tokens, --seed and the stage-1 precision, checked before you pay.
- 03
Run, then export
Listen, re-run or fork; the ZIP repeats the run on your own GPU with the same seed.
What the repository asks for
From the YuE README (YuE-v1 branch). Memory is GPU memory; times grow with the token load.
| Setup | GPU memory | What to expect |
|---|---|---|
| Short tests | 24 GB or less | Up to 2 segments; a consumer card with quantisation, slow. |
| Full songs (4+ segments) | 80 GB | An A100 or H100 class GPU. |
| Software | CUDA GPU, Linux | Python, PyTorch with CUDA, FlashAttention 2 recommended, plus the xcodec_mini_infer checkout. |
| Here | None on your side | A100 80 GB on our side; a 2 × Short run took 7–8 minutes in our timings. |
Checked 2026-12-05 against github.com/multimodal-art-projection/YuE
Running YuE from GitHub yourself
The steps the README describes, in short, so you know what the exported run.sh does.
- 01
Clone the repository
Clone the YuE repository on its YuE-v1 branch and the xcodec_mini_infer checkpoint into inference/.
- 02
Install the environment
Create a Python environment with PyTorch for your CUDA version and install the requirements; FlashAttention 2 saves memory.
- 03
Write genre.txt and lyrics.txt
Space-separated tags in genre.txt; lyrics with [verse] / [chorus] segments separated by blank lines.
- 04
Run infer.py
Pass the stage-1 and stage-2 models, both text files, the segments, the token budget and the seed. Weights download on first run.
Arguments the export writes
--stage1_model m-a-p/YuE-s1-7B-anneal-en-cot--stage2_model m-a-p/YuE-s2-1B-general--genre_txt genre.txt·--lyrics_txt lyrics.txt--run_n_segments 1–4--max_new_tokens 1500 / 2000 / 3000--seed·--repetition_penalty 1.1
Argument names checked against inference/infer.py on 2026-12-05. We quote names only, not the repository's code.
YuE in ComfyUI vs in the cloud
Community ComfyUI nodes wrap the same model. They suit people already living in ComfyUI; they need the same GPU.
Same weights
The nodes load the same YuE stage-1 and stage-2 models; the results depend on the same settings.
Same memory wall
Low-VRAM node presets quantise or offload, which is slower and can lower audio quality.
Settings travel
Our recipe JSON lists every value a node asks for: tags, lyrics, segments, tokens, seed.
No graph to keep
Here there is nothing to install or update; the bench is the whole workflow.
Local, or run here
Both run the same model. The difference is who owns the GPU.
| Aspect | Your GPU | YueAI.net |
|---|---|---|
| Hardware | 24–80 GB GPU | A browser |
| Setup | Python, CUDA, checkpoints | None |
| Cost | Your power and time | 692 credits a run, refunded on failure |
| Settings | Every infer.py argument | Segments, token budget, precision, seed |
| Moving a run | Copy the files by hand | Export ZIP back to local |
| Languages | All YuE models | English CoT model at launch |
Common errors running it locally
What usually goes wrong, and what to check first.
CUDA out of memory
Lower --run_n_segments or --max_new_tokens, or use a quantised stage 1. Full songs need an 80 GB card.
Missing xcodec_mini_infer
The decoder checkpoint lives in its own repository and must sit inside inference/.
Silence or noise at the end
Usually more segments requested than the lyrics have, or a budget too short for long segments.
FlashAttention build fails
Install a wheel that matches your PyTorch and CUDA versions, or run without it at a memory cost.
Questions
Can I run YuE without a GPU?
Not on your own machine at a useful speed. Here it runs on our A100s; you only need a browser.
What do segments and max_new_tokens do?
Segments is how many lyric blocks are rendered from the top; max_new_tokens is the stage-1 budget per segment, about 100 tokens a second of music.
Does the export really run on my machine?
run.sh clones the public repository on its YuE-v1 branch and calls inference/infer.py with the recipe's arguments. You still need the GPU and the environment.
Why only the English model?
We launched with YuE s1-7B (English CoT). The Chinese and Japanese-Korean models are not offered yet.
Is YueAI.net part of the YuE project?
No. It is an independent platform, not affiliated with HKUST or M-A-P. YuE and YuE2 are trademarks of their owners.
How long does a run take?
In our timings a 2 × Short run took 7–8 minutes and a 3 × Standard run about 12–13. It runs in the background; you can close the tab.
Try it on the bench
Your genre tags and lyrics, YuE's real settings, a recipe you keep.
Last updated: