Instructions to use gueraf/Self-Forcing-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use gueraf/Self-Forcing-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("gueraf/Self-Forcing-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
Fix Self-Forcing Wan conversion config
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
| 13 |
"freq_dim": 256,
|
| 14 |
"ffn_dim": 8960,
|
| 15 |
"num_layers": 30,
|
| 16 |
-
"cross_attn_norm":
|
| 17 |
"qk_norm": "rms_norm_across_heads",
|
| 18 |
"eps": 1e-06,
|
| 19 |
"image_dim": null,
|
|
|
|
| 13 |
"freq_dim": 256,
|
| 14 |
"ffn_dim": 8960,
|
| 15 |
"num_layers": 30,
|
| 16 |
+
"cross_attn_norm": true,
|
| 17 |
"qk_norm": "rms_norm_across_heads",
|
| 18 |
"eps": 1e-06,
|
| 19 |
"image_dim": null,
|