Spaces:
Running on Zero
Running on Zero
Load weights from MiniMaxAI/MiniMax-Music3
Browse filesMerge once MiniMaxAI/MiniMax-Music3 PR #2 (diffusers weights) is merged.
README.md
CHANGED
|
@@ -7,6 +7,8 @@ sdk: gradio
|
|
| 7 |
sdk_version: "6.16.0"
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
|
|
|
|
|
|
| 10 |
suggested_hardware: zero-a10g
|
| 11 |
---
|
| 12 |
|
|
@@ -17,7 +19,7 @@ The input surface is a single Suno-inspired custom `gr.HTML` composer (Simple
|
|
| 17 |
chips, structured-caption fields per the official prompting guide) that drives Gradio events via
|
| 18 |
`trigger()`/`props.value`; styling uses only theme CSS vars so it follows the Citrus theme natively.
|
| 19 |
|
| 20 |
-
- Weights: `
|
| 21 |
- AoTI kernels: `diffusers-internal-dev/MiniMax-Music3-aoti` (compiled on RTX Pro 6000, matching ZeroGPU hardware)
|
| 22 |
- Generation streams chunk by chunk with a configurable playback headroom. The 8B language-model stage runs eager
|
| 23 |
on ZeroGPU (its JIT StaticCache ladder needs a persistent process); AoTI-exporting the LM decode step per cache
|
|
|
|
| 7 |
sdk_version: "6.16.0"
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
models:
|
| 11 |
+
- MiniMaxAI/MiniMax-Music3
|
| 12 |
suggested_hardware: zero-a10g
|
| 13 |
---
|
| 14 |
|
|
|
|
| 19 |
chips, structured-caption fields per the official prompting guide) that drives Gradio events via
|
| 20 |
`trigger()`/`props.value`; styling uses only theme CSS vars so it follows the Citrus theme natively.
|
| 21 |
|
| 22 |
+
- Weights: `MiniMaxAI/MiniMax-Music3`
|
| 23 |
- AoTI kernels: `diffusers-internal-dev/MiniMax-Music3-aoti` (compiled on RTX Pro 6000, matching ZeroGPU hardware)
|
| 24 |
- Generation streams chunk by chunk with a configurable playback headroom. The 8B language-model stage runs eager
|
| 25 |
on ZeroGPU (its JIT StaticCache ladder needs a persistent process); AoTI-exporting the LM decode step per cache
|
app.py
CHANGED
|
@@ -14,7 +14,7 @@ from huggingface_hub import snapshot_download
|
|
| 14 |
from diffusers import ModularPipeline
|
| 15 |
from diffusers.models.modeling_outputs import Transformer2DModelOutput
|
| 16 |
|
| 17 |
-
PIPE = ModularPipeline.from_pretrained("
|
| 18 |
PIPE.load_components(dtype=torch.bfloat16)
|
| 19 |
PIPE.to("cuda")
|
| 20 |
|
|
|
|
| 14 |
from diffusers import ModularPipeline
|
| 15 |
from diffusers.models.modeling_outputs import Transformer2DModelOutput
|
| 16 |
|
| 17 |
+
PIPE = ModularPipeline.from_pretrained("MiniMaxAI/MiniMax-Music3")
|
| 18 |
PIPE.load_components(dtype=torch.bfloat16)
|
| 19 |
PIPE.to("cuda")
|
| 20 |
|