Instructions to use AEmotionStudio/sonicmaster-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AEmotionStudio/sonicmaster-models with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AEmotionStudio/sonicmaster-models", 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
Download vae/config.json from AEmotionStudio/sonicmaster-models: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/AEmotionStudio/sonicmaster-models/resolve/main/vae/config.json
- Command line
-
hf download hf://AEmotionStudio/sonicmaster-models/vae/config.json
-
curl -L -o config.json https://huggingface.co/AEmotionStudio/sonicmaster-models/resolve/main/vae/config.json
350 Bytes
| { | |
| "_class_name": "AutoencoderOobleck", | |
| "_diffusers_version": "0.30.0.dev0", | |
| "audio_channels": 2, | |
| "channel_multiples": [ | |
| 1, | |
| 2, | |
| 4, | |
| 8, | |
| 16 | |
| ], | |
| "decoder_channels": 128, | |
| "decoder_input_channels": 64, | |
| "downsampling_ratios": [ | |
| 2, | |
| 4, | |
| 4, | |
| 8, | |
| 8 | |
| ], | |
| "encoder_hidden_size": 128, | |
| "sampling_rate": 44100 | |
| } | |