β‘ MiniMax Music 3 Turbo FP8 & 8-Step LoRA (ComfyUI Optimized)
β οΈ Notice (v1.0 Community Release - Work in Progress / Experimental Calibration):
This is a v1.0 calibration release created to accelerate local generation on NVIDIA RTX GPUs. Further refinements and community feedback are welcome as we calibrate audio hyperparameters.
π Overview & Benchmark Highlights
This repository contains the ultra-optimized FP8 (torch.float8_e4m3fn) weights and the Turbo 8-Step Step-Distillation LoRA for MiniMax Music 3, tailored specifically for lightning-fast inference in ComfyUI.
| Configuration | Full 190s Song Generation Time (RTX 4090) | Speedup | VRAM Footprint |
|---|---|---|---|
| Baseline (INT8 non-optimized) | ~895s (~15 minutes) | 1.0x | ~16 GB |
| Text Encoder & DiT FP8 | ~315s (~5 minutes 15s) | 2.8x faster | ~11 GB |
| π₯ FULL STACK: FP8 + Turbo LoRA 8-Step + SageAttention | β‘ ~245s (~4 minutes 05s) | π ~3.7x Faster (-11 min!) | ~11.5 GB |
π¦ Downloadable Files in this Repo
| File Name | Size | Type | Destination Folder in ComfyUI |
|---|---|---|---|
minimax_music3_text_encoder_fp8_e4m3fn.safetensors |
8.48 GB | Pure FP8 Text Encoder (Clean, unrotated BF16 base) | ComfyUI/models/text_encoders/ |
minimax_music3_dit_fp8_e4m3fn.safetensors |
2.46 GB | Pure FP8 DiT Flow-Matching Model | ComfyUI/models/diffusion_models/ |
minimax_music3_turbo_lora_8step.safetensors |
180 MB | 8-Step Consistency Distillation LoRA (Rank 64 / Alpha 64) | ComfyUI/models/loras/ |
ποΈ Recommended ComfyUI Workflow & Settings
1. Model Connections
[Load Diffusion Model] (minimax_music3_dit_fp8_e4m3fn.safetensors)
β
βΌ
[Load LoRA] (minimax_music3_turbo_lora_8step.safetensors | strength: 0.85 β IDEAL)
β
βΌ
[Patch Sage Attention KJ] (sage_attention: auto)
β
βΌ
[KSampler]
π‘ Pro-Tip on LoRA Strength (0.85 is Ideal)
β LoRA Strength =
0.85(Recommended Sweet Spot):
Setting the LoRA strength to0.85(rather than1.0) provides the absolute best balance: it accelerates the diffusion sampling to 8-10 steps while letting the base model inject 100% crystal-clear vocal formants, diction, and delicate high-frequency percussion.
2. Optimal Node Parameters
A. MiniMax Music3 Text Encode
clip: Connect toLoad Text Encoderwithminimax_music3_text_encoder_fp8_e4m3fn.safetensors.cfg_scale:1.5(Recommended: keeps 100% voice clarity, instrument separation and lyrical articulation).max_duration: Adjust to your desired song length (e.g.120.0for 2 min,190.0for 3 min 10s).
B. KSampler
steps:8(Ultra-fast) or10 - 12(Studio Master Quality)sampler_name:eulerscheduler:simplecfg:1.7denoise:1.0
π¬ Technical Details & Methodology
- Text Encoder Quantization: Converted from the pristine unrotated
minimax_music3_text_encoder_pruned_bf16.safetensorsdirectly tofloat8_e4m3fn. All 166 sensitive layers (audio decoder heads, RMSNorms, token embeddings) remain in high-precisionBF16to guarantee zero early-stop anomalies and pitch accuracy. - DiT Flow-Matching Quantization: Converted 150 2D matrix weights to FP8 while keeping 224 modulation/norm parameters in FP16.
- Turbo LoRA Distillation: Trained using Consistency Flow-Matching & Mean Flow Distillation across 144 attention and MLP projection matrices over 20,000 steps with Cosine Warmup scheduling on an NVIDIA RTX 4090.
π€ GitHub Repository
Training scripts and conversion tools are open-sourced at:
π GitHub: Guillaume-127/Minimax-music-3-Turbo-8-steps
Created by Guillaume-127. Released for the open-source AI music community.