File size: 1,605 Bytes
70f16e1
1866d52
1688c15
 
 
70f16e1
aa18265
70f16e1
57e8935
1688c15
de1b9e6
70f16e1
 
de1b9e6
1688c15
cffc867
 
de1b9e6
cffc867
de1b9e6
 
 
cffc867
 
de1b9e6
 
1688c15
ab5ad1e
1688c15
 
 
aa18265
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: MiniMax Music 3 Workflow
emoji: 🎵
colorFrom: pink
colorTo: purple
sdk: gradio
sdk_version: 6.24.0
app_file: app.py
pinned: true
suggested_hardware: zero-a10g
hf_oauth: true
---

# MiniMax Music 3 — diffusers demo as a `gr.Workflow`

Generates full songs from tagged lyrics + a structured caption using the `MiniMaxMusic3Pipeline` diffusers
port, presented as a visual, node-based `gr.Workflow` canvas (`workflow.json`):

**Lyrics + Global Metadata + Vocal Details + Arrangement (editable reference nodes, defaults per the official
prompting guide) → `generate_song` (`@spaces.GPU` ZeroGPU worker: AR frames → windowed DiT decode → vocoder →
wav) → Output Song / Seed Used / Stats → `make_video` (CPU ffmpeg visualizer) → Share Video.**

Duration, seed, randomize-seed, flow-matching steps, guidance scale, and video title are also editable
reference nodes. `hf_oauth: true` lets the owner edit the canvas; visitors can run the pipeline. The original Blocks app
(with the live-streaming PCM player) is preserved as `app_blocks.py` — workflow fn nodes are plain callables,
so chunk-by-chunk streaming is replaced by a final audio subject.

- Weights: `MiniMaxAI/MiniMax-Music3`
- AoTI kernels: `diffusers-internal-dev/MiniMax-Music3-aoti` (compiled on RTX Pro 6000, matching ZeroGPU hardware)
- Generation streams chunk by chunk with a configurable playback headroom. The 8B language-model stage runs eager
  on ZeroGPU (its JIT StaticCache ladder needs a persistent process); AoTI-exporting the LM decode step per cache
  bucket is the follow-up that brings the extra ~1.9x.