Views
No views yet
![]() |
Final: epoch 100, MA5 0.7955 (best of run)
Dataset: 1.3k pop/electro tracks (Same as Nekochu/stable-audio-open-1.0-Music)
~1/3 common caption tags: Chill & Relax, Feel-Good Vibes, Pop Dance, Slow Down & Relax, EDM, Pop, Workout Beats, Chill Vibes, Alt Z, Electro House
Adapter: LoHA dim=128, alpha=256, target-mlp
Trainable: 652M params (11.6%)
Hardware: RTX 5090, ~24-30 min/epoch, ~48 hrs total
|
| Epoch | Folder | Sample | Notes |
|---|---|---|---|
| base (no LoRA) | n/a | Stock xl-base baseline | |
| 5 | lora_ep5/ | High-pitch, off-tone | |
| 20 | lora_ep20/ | Tone respected, some distortion | |
| 70 | lora_ep70/ | Lyrics respected, blended tone | |
| 100 (final) | lora_ep100/ | Clearest, most "different" tone |
1git clone https://github.com/ace-step/ACE-Step-1.5 && cd ACE-Step-1.5
2uv run acestep-api # starts REST server
3# In another terminal:
4curl -X POST http://localhost:8000/v1/lora/load -d '{"lora_path": "/abs/path/to/lora_ep100/loha_weights.safetensors", "adapter_name": "pop_electro"}'AceStepHandler.add_lora(): Python inference script1from acestep.handler import AceStepHandler
2from acestep.llm_inference import LLMHandler
3from acestep.inference import GenerationParams, GenerationConfig, generate_music
4
5dit = AceStepHandler()
6dit.initialize_service(
7 project_root="/path/to/ACE-Step-1.5",
8 config_path="acestep-v15-xl-base",
9 device="cuda",
10)
11dit.add_lora(lora_path="/abs/path/to/lora_ep100/loha_weights.safetensors",
12 adapter_name="pop_electro")
13
14llm = LLMHandler()
15llm.initialize(checkpoint_dir="/path/to/checkpoints",
16 lm_model_path="acestep-5Hz-lm-4B",
17 backend="pt", device="cuda")
18
19params = GenerationParams(
20 task_type="text2music",
21 caption="...", lyrics="...",
22 bpm=97, keyscale="F Major", timesignature="4",
23 vocal_language="en", duration=60.0,
24 inference_steps=50, guidance_scale=7.0,
25 thinking=True, infer_method="ode",
26)
27config = GenerationConfig(audio_format="wav", batch_size=1, seeds=[4178637441])
28result = generate_music(dit, llm, params, config, save_dir="./output")1uv run sidestep --yes --plain train \
2 -d "../tmp/xl_tensors" \
3 --checkpoint-dir "../tmp/checkpoints" \
4 --model xl-base \
5 --adapter loha \
6 --loha-linear-dim 128 \
7 --loha-linear-alpha 256 \
8 --target-mlp \
9 --batch-size 1 \
10 --gradient-accumulation 8 \
11 --chunk-duration 120 \
12 --precision fp32 \
13 --lr 5e-5 \
14 --warmup-steps 300 \
15 --optimizer-type adamw8bit \
16 --scheduler-type cosine \
17 --gradient-checkpointing \
18 --gradient-checkpointing-ratio 0.5 \
19 --epochs 100 \
20 --save-every 5 \
21 --output-dir "../tmp/train_runs/loha_xl_base"