Views
No views yet
no_changelanguage_model (global LM / RVQ planner)128continuation-10.1smooth_l10.02blockroute161import torch
2from diffusers import DiffusionPipeline
3
4model_id = 'MiniMaxAI/MiniMax-Music3'
5adapter_id = 'MiniMaxMusicTraining/soad-mm3-daron-cont128-reginst-replicate'
6pipeline = DiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.bfloat16) # loading directly in bf16
7pipeline.load_lora_weights(adapter_id)
8
9prompt = "An astronaut is riding a horse through the jungles of Thailand."
10negative_prompt = 'blurry, cropped, ugly'
11
12## Optional: quantise the model to save on vram.
13## Note: The model was not quantised during training, so it is not necessary to quantise it during inference time.
14#from optimum.quanto import quantize, freeze, qint8
15#quantize(pipeline.transformer, weights=qint8)
16#freeze(pipeline.transformer)
17
18pipeline.to('cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu') # the pipeline is already in its target precision level
19model_output = pipeline(
20 prompt=prompt,
21 negative_prompt=negative_prompt,
22 num_inference_steps=30,
23 generator=torch.Generator(device='cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu').manual_seed(42),
24 width=256,
25 height=256,
26 guidance_scale=7.5,
27).images[0]
28
29model_output.save("output.png", format="PNG")
3040 seconds maximum duration,
30 flow steps, flow CFG 1.7, and seed
20260824. Within each batch, only LoRA strength changes.Alternative pop-jazz, 102 BPM, brushed drums, upright bass, clean electric piano, airy male vocals, smooth verse-chorus songwriting, restrained dynamics, polished intimate mix.system of a down, soad style musicLilting hypnotic arpeggios, a gentle melodic mid-tempo groove with layered harmonies, sudden explosive distorted riffs, unstable meter changes, theatrical male vocals, tightly syncopated bass and drums, abrupt shifts between fragile verses and frantic heavy choruses.system of a down, soad style music, lilting hypnotic arpeggios, a gentle melodic mid-tempo groove with layered harmonies, sudden explosive distorted riffs, unstable meter changes, theatrical male vocals, tightly syncopated bass and drums, abrupt shifts between fragile verses and frantic heavy choruses.| strength | Off-genre, no trigger | Trigger only | Descriptors, no trigger | Trigger + descriptors |
|---|---|---|---|---|
| 0.25 | ||||
| 0.50 | ||||
| 0.75 | ||||
| 1.00 |
| strength | Off-genre, no trigger | Trigger only | Descriptors, no trigger | Trigger + descriptors |
|---|---|---|---|---|
| 0.25 | ||||
| 0.50 | ||||
| 0.75 | ||||
| 1.00 |
| strength | Off-genre, no trigger | Trigger only | Descriptors, no trigger | Trigger + descriptors |
|---|---|---|---|---|
| 0.25 | ||||
| 0.50 | ||||
| 0.75 | ||||
| 1.00 |
| strength | Off-genre, no trigger | Trigger only | Descriptors, no trigger | Trigger + descriptors |
|---|---|---|---|---|
| 0.25 | ||||
| 0.50 | ||||
| 0.75 | ||||
| 1.00 |
| strength | Off-genre, no trigger | Trigger only | Descriptors, no trigger | Trigger + descriptors |
|---|---|---|---|---|
| 0.25 | ||||
| 0.50 | ||||
| 0.75 | ||||
| 1.00 |
| strength | Off-genre, no trigger | Trigger only | Descriptors, no trigger | Trigger + descriptors |
|---|---|---|---|---|
| 0.25 | ||||
| 0.50 | ||||
| 0.75 | ||||
| 1.00 |
| strength | Off-genre, no trigger | Trigger only | Descriptors, no trigger | Trigger + descriptors |
|---|---|---|---|---|
| 0.25 | ||||
| 0.50 | ||||
| 0.75 | ||||
| 1.00 |
| strength | Off-genre, no trigger | Trigger only | Descriptors, no trigger | Trigger + descriptors |
|---|---|---|---|---|
| 0.25 | ||||
| 0.50 | ||||
| 0.75 | ||||
| 1.00 |
| strength | Off-genre, no trigger | Trigger only | Descriptors, no trigger | Trigger + descriptors |
|---|---|---|---|---|
| 0.25 | ||||
| 0.50 | ||||
| 0.75 | ||||
| 1.00 |
| strength | Off-genre, no trigger | Trigger only | Descriptors, no trigger | Trigger + descriptors |
|---|---|---|---|---|
| 0.25 | ||||
| 0.50 | ||||
| 0.75 | ||||
| 1.00 |
1[Intro]
2Count the teeth in the traffic light
3Paint the silence ultraviolet
4
5[Verse 1: Daron Malakian]
6Paper crowns on the factory floor
7Everybody wants a little more
8Wind-up prophets in a checkout line
9Selling borrowed seconds back as time
10
11[Pre-Chorus: Daron Malakian]
12Turn the dial, divide the sky
13Ask the wires to tell us why
14
15[Chorus: Daron Malakian]
16Wake up the walls, let the ceiling shake
17We built a feast from a plastic lake
18Hands in the air while the engines stall
19Who signed the order to swallow it all?
20
21[Verse 2: Daron Malakian]
22Velvet sirens in the avenue
23Paint every warning a pleasant blue
24I fed my shadow to the voting machine
25It came back polished, quiet, and clean
26
27[Bridge: Daron Malakian]
28Softly, softly, count to four
29Kick down the arithmetic door
30One for the hunger, two for the show
31Three for the ones who already know
32
33[Final Chorus: Daron Malakian]
34Wake up the walls, let the ceiling shake
35We built a feast from a plastic lake
36Hands in the air while the engines stall
37Who signed the order to swallow it all?
38
39[Outro]
40Count the teeth
41Kill the light
42Carry the silence
43Into the night