Views
No views yet
| Base model | ACE-Step 1.5 (2.4B params, 24-layer DiT decoder) |
| Adapter rank | 16 |
| Alpha | 32 |
| Dropout | 0.1 |
| Target modules | q_proj, k_proj, v_proj, o_proj (all 24 layers) |
| Trainable params | ~11M (0.46% of total) |
| File size | 44 MB |
| Training data | 250 balanced samples from 2,787 Indian music segments |
| Training | 10 epochs, 600 optimizer steps, AdamW lr=1e-4, BFloat16, Apple Silicon MPS |
| PEFT version | 0.18.1 |
1from acestep.handler import AceStepHandler
2
3handler = AceStepHandler()
4handler.initialize_service(
5 project_root="path/to/ace-step-checkpoints",
6 config_path="acestep-v15-turbo",
7 device="cuda", # or "mps" for Apple Silicon
8)
9
10# Load the adapter
11handler.add_lora("path/to/RagaLoRA/adapter")
12handler.set_use_lora(True)
13handler.set_lora_scale(0.8) # 0.8 works well; adjust to taste
14
15# Generate
16result = handler.generate_music(
17 captions="Hindustani classical vocal, raag Yaman, sitar and tabla, teentaal, meditative alap",
18 lyrics="[Alap]\nSa re ga ma pa dha ni\n[Gat]\nYaman ke sur mein",
19 audio_duration=60,
20 inference_steps=8,
21 guidance_scale=7.0,
22 vocal_language="hi",
23)1handler.set_use_lora(False) # base model output
2# generate...
3handler.set_use_lora(True) # adapter output
4# generate...| Genre | Centroid Change | Energy Change | Tempo Change |
|---|---|---|---|
| Hindustani Classical | -0.5% | -1% | -32% |
| Bollywood Ballad | -6.3% | +17% | +6% |
| Qawwali | -12% | -12% | 0% |
| Ghazal | +5% | +11% | +30% |
| Bhajan | -7% | -15% | -19% |
| Carnatic Classical* | -16% | -17% | 0% |
| Indie Hindi* | +6% | +9% | 0% |
| Sufi Rock* | -5% | +19% | -35% |
| Filmi Dance* | -7% | +38% | -32% |
| Hinglish Pop* | +5% | +16% | 0% |
1@article{chawla_2026,
2 title={RagaLoRA: LoRA-Tuning a Diffusion Music Model for Indian Genres},
3 author={Chawla, Varun},
4 year={2026},
5 month={Feb},
6 publisher={Zenodo},
7 doi={10.5281/zenodo.18811689},
8 url={https://doi.org/10.5281/zenodo.18811689}
9}