Instructions to use FastVideo/stable-audio-open-small-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FastVideo/stable-audio-open-small-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("FastVideo/stable-audio-open-small-Diffusers", 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": "StableAudioDiT", | |
| "io_channels": 64, | |
| "embed_dim": 1024, | |
| "depth": 16, | |
| "cond_token_dim": 768, | |
| "global_cond_dim": 768, | |
| "num_attention_heads": 8, | |
| "qk_norm": "ln", | |
| "project_cond_tokens": true, | |
| "project_global_cond": true | |
| } |