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
Add project_cond_tokens / project_global_cond (state-dict-derived)
Browse files- transformer/config.json +3 -1
transformer/config.json
CHANGED
|
@@ -6,5 +6,7 @@
|
|
| 6 |
"cond_token_dim": 768,
|
| 7 |
"global_cond_dim": 768,
|
| 8 |
"num_attention_heads": 8,
|
| 9 |
-
"qk_norm": "ln"
|
|
|
|
|
|
|
| 10 |
}
|
|
|
|
| 6 |
"cond_token_dim": 768,
|
| 7 |
"global_cond_dim": 768,
|
| 8 |
"num_attention_heads": 8,
|
| 9 |
+
"qk_norm": "ln",
|
| 10 |
+
"project_cond_tokens": true,
|
| 11 |
+
"project_global_cond": true
|
| 12 |
}
|