Instructions to use inference-sh/Wan2.2-TI2V-5B-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use inference-sh/Wan2.2-TI2V-5B-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("inference-sh/Wan2.2-TI2V-5B-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
Upload folder using huggingface_hub
Browse files- transformer/config.json +1 -1
transformer/config.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
| 17 |
2,
|
| 18 |
2
|
| 19 |
],
|
| 20 |
-
|
| 21 |
"qk_norm": "rms_norm_across_heads",
|
| 22 |
"rope_max_seq_len": 1024,
|
| 23 |
"text_dim": 4096
|
|
|
|
| 17 |
2,
|
| 18 |
2
|
| 19 |
],
|
| 20 |
+
"pos_embed_seq_len": null,
|
| 21 |
"qk_norm": "rms_norm_across_heads",
|
| 22 |
"rope_max_seq_len": 1024,
|
| 23 |
"text_dim": 4096
|