mirror of
https://github.com/Comfy-Org/comfy-quants.git
synced 2026-11-04 23:37:27 +00:00
[PR #10] Add MiniMax Music 3 NVFP4 export contracts #10
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-quants#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-quants/pull/10
Author: @somewheresy
Created: 8/14/2026
Status: 🔄 Open
Base:
main← Head:codex/minimax-music3-nvfp4📝 Commits (2)
c948395Add MiniMax Music 3 NVFP4 export contractsee42306Annotate MiniMax Music 3 test helpers📊 Changes
11 files changed (+676 additions, -0 deletions)
View changed files
➕
configs/minimax_music3_dit_nvfp4.yaml(+33 -0)➕
configs/minimax_music3_text_encoder_nvfp4.yaml(+34 -0)📝
docs/quantization/README.md(+2 -0)➕
docs/quantization/minimax_music3.md(+86 -0)📝
docs/quantization/nvfp4.md(+14 -0)📝
src/comfy_quants/comfy/artifact_contracts.py(+18 -0)➕
src/comfy_quants/model_adapters/minimax_music3.py(+304 -0)📝
src/comfy_quants/model_adapters/registry.py(+1 -0)📝
tests/unit/test_comfy_alignment.py(+10 -0)📝
tests/unit/test_config_and_cli.py(+14 -0)➕
tests/unit/test_minimax_music3_contract.py(+160 -0)📄 Description
Problem
ComfyUI now supports MiniMax Music 3 and has a native NVFP4 runtime, but comfy-quants has no producer contract or recipe for either of Music 3's separately loaded model files.
Change
The contracts were checked against the safetensors headers at Comfy-Org/MiniMax-Music-3 revision
6444666eb6edfb2c7fcab5f8b81da8b84b4b17b6: 144/144 selected DiT tensors and 160/160 selected AR/RVQ tensors matched by name and shape. Every selected input dimension is block-16 aligned.Tests
uv run --python 3.13 --with pytest --with torch --with numpy pytest -quvx ruff check --select E,F,I src/comfy_quants/model_adapters/minimax_music3.py tests/unit/test_minimax_music3_contract.pygit diff --checkValidation status
This validates the producer contract, packing path, names, shapes, and loader metadata. I have not yet run the resulting full-size checkpoints through Music 3 on Blackwell hardware, so audio-quality parity and sustained-generation VRAM behavior remain explicit follow-up gates before publishing model artifacts.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.