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
Update conditioner/config.json: parametric configs (qk_norm, sub-conditioner specs)
Browse files- conditioner/config.json +7 -0
conditioner/config.json
CHANGED
|
@@ -18,5 +18,12 @@
|
|
| 18 |
"max_val": 256
|
| 19 |
}
|
| 20 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
]
|
| 22 |
}
|
|
|
|
| 18 |
"max_val": 256
|
| 19 |
}
|
| 20 |
}
|
| 21 |
+
],
|
| 22 |
+
"cross_attention_cond_ids": [
|
| 23 |
+
"prompt",
|
| 24 |
+
"seconds_total"
|
| 25 |
+
],
|
| 26 |
+
"global_cond_ids": [
|
| 27 |
+
"seconds_total"
|
| 28 |
]
|
| 29 |
}
|