Instructions to use FastVideo/stable-audio-open-1.0-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use FastVideo/stable-audio-open-1.0-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-1.0-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 +2 -1
transformer/config.json
CHANGED
|
@@ -6,5 +6,6 @@
|
|
| 6 |
"cond_token_dim": 768,
|
| 7 |
"global_cond_dim": 1536,
|
| 8 |
"project_cond_tokens": false,
|
| 9 |
-
"num_attention_heads": 24
|
|
|
|
| 10 |
}
|
|
|
|
| 6 |
"cond_token_dim": 768,
|
| 7 |
"global_cond_dim": 1536,
|
| 8 |
"project_cond_tokens": false,
|
| 9 |
+
"num_attention_heads": 24,
|
| 10 |
+
"project_global_cond": false
|
| 11 |
}
|