Instructions to use SimpleTuner/MiniMax-Music-3-Encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SimpleTuner/MiniMax-Music-3-Encoder with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SimpleTuner/MiniMax-Music-3-Encoder", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
| { | |
| "_class_name": "MiniMaxMusic3DAV", | |
| "_diffusers_version": "0.38.0", | |
| "channel_latent_channels": 64, | |
| "decoder_hidden_dim": 1536, | |
| "decoder_input_dim": 1024, | |
| "encoder_dim": 64, | |
| "encoder_latent_dim": 1024, | |
| "encoder_rates": [ | |
| 2, | |
| 4, | |
| 8, | |
| 8 | |
| ], | |
| "latent_channels": 128, | |
| "sampling_rate": 44100, | |
| "upsampling_ratios": [ | |
| 8, | |
| 8, | |
| 4, | |
| 2 | |
| ] | |
| } | |