Repository navigation
Add native MiniMax Music 3 pipeline support - #510
Conversation
Recognize modular diffusers indexes and export the Qwen3 language stage, RVQ depth decoder, condition encoder, 1D flow transformer, and stereo vocoder with faithful configs and weight handling. Add tiny runtime, config, builder, schema, and alignment coverage plus pinned large-model waivers. Co-authored-by: Copilot <[email protected]> Copilot-Session: 39ff6824-d35f-4d3b-8f5f-043a7119a100 Signed-off-by: GitHub Copilot <[email protected]>
|
|
Performance Comparison
|
🏗️ Architecture Diff
No architecture changes detected. ✅ Legend: ⚪ No change · 🔵 Minor (attrs/inits) · 🟡 Moderate (nodes added/removed) · 🔴 Major (interface changed) |
There was a problem hiding this comment.
Pull request overview
Adds native Mobius support for exporting the MiniMax Music 3 modular diffusers pipeline components as ONNX graphs, including diffusers modular index/component source resolution and corresponding config + runtime/graph tests.
Changes:
- Add MiniMax Music 3 component model implementations (RVQ depth decoder, condition encoder, 1D flow transformer, stereo vocoder) plus a Qwen3-based language model wrapper and task graph contracts.
- Extend diffusers pipeline builder to support
modular_model_index.jsonand modular component metadata (external repo/revision/subfolder), including optional metadata downloads with revision. - Add schema + builder + runtime/unit tests and a pinned YAML test case for the MiniMax Music 3 pipeline.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| testdata/cases/diffusion/minimax-music3.yaml | Adds a pinned MiniMax-Music3 diffusers case (with documented waivers). |
| src/mobius/tasks/_minimax_music3.py | Introduces task graph contracts for MiniMax Music 3 component exports. |
| src/mobius/tasks/init.py | Registers new MiniMax Music 3 tasks and task-name mappings. |
| src/mobius/models/minimax_music3.py | Adds native ONNX-building model components for MiniMax Music 3. |
| src/mobius/models/minimax_music3_test.py | Adds build/runtime/contract tests for the new component exports. |
| src/mobius/models/init.py | Exposes the new MiniMax Music 3 model classes in the public models API. |
| src/mobius/_diffusers_configs.py | Adds MiniMax Music 3 config adapters and pipeline constants. |
| src/mobius/_diffusers_builder.py | Adds modular diffusers index fallback + modular component source resolution (repo/revision/subfolder). |
| src/mobius/_diffusers_builder_test.py | Adds tests for modular index fallback and component source resolution semantics. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <[email protected]> Signed-off-by: Justin Chu <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]> Signed-off-by: Justin Chu <[email protected]>
Summary
Validation
python3 -m pytest src/mobius/models/minimax_music3_test.py src/mobius/_diffusers_builder_test.py tests/yaml_schema_test.py -q --tb=short(339 affected tests passed in the implementation worktree)main(Gemma3n/Gemma4 missing inferred audio output shapes and unavailable cached Gemma4 config)Waivers
Pinned model revision:
fbdf52fbaaca799592917417eb05f1899f1255ec.Pinned diffusers source:
9cdd65902a576493acea190d6bc115afb41d4709.