Instructions to use neithsan/wan21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use neithsan/wan21 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("neithsan/wan21", 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
checkpoint-4300/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5c9b431cbd9d2bb5ebb0ffe845ec352ae414f85814a822179cac53423ccdf5c
|
| 3 |
+
size 6259248218
|
checkpoint-4300/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a92d79cfea635889fd387634ec679df00aa7830f84839b07c852ae8858858718
|
| 3 |
+
size 14821
|
checkpoint-4300/sampler_pos_start.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff0293f4beee2f3a4c999b367269d3e3cf59798c2c1346c0806ddecf1898a3c0
|
| 3 |
+
size 20
|
checkpoint-4300/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26a3f00162fcf215e03c2cedd50cf2290f2896118cd374c5613de40041a82dc1
|
| 3 |
+
size 1465
|
checkpoint-4300/transformer/config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "WanTransformer3DModel",
|
| 3 |
+
"_diffusers_version": "0.38.0",
|
| 4 |
+
"add_control_adapter": false,
|
| 5 |
+
"add_ref_conv": true,
|
| 6 |
+
"cross_attn_norm": true,
|
| 7 |
+
"cross_attn_type": null,
|
| 8 |
+
"dim": 1536,
|
| 9 |
+
"downscale_factor_control_adapter": 8,
|
| 10 |
+
"eps": 1e-06,
|
| 11 |
+
"ffn_dim": 8960,
|
| 12 |
+
"freq_dim": 256,
|
| 13 |
+
"hidden_size": 1536,
|
| 14 |
+
"in_channels": 48,
|
| 15 |
+
"in_dim": 48,
|
| 16 |
+
"in_dim_control_adapter": 24,
|
| 17 |
+
"in_dim_ref_conv": 16,
|
| 18 |
+
"model_type": "i2v",
|
| 19 |
+
"num_heads": 12,
|
| 20 |
+
"num_layers": 30,
|
| 21 |
+
"out_dim": 16,
|
| 22 |
+
"patch_size": [
|
| 23 |
+
1,
|
| 24 |
+
2,
|
| 25 |
+
2
|
| 26 |
+
],
|
| 27 |
+
"qk_norm": true,
|
| 28 |
+
"text_dim": 4096,
|
| 29 |
+
"text_len": 512,
|
| 30 |
+
"window_size": [
|
| 31 |
+
-1,
|
| 32 |
+
-1
|
| 33 |
+
]
|
| 34 |
+
}
|
checkpoint-4300/transformer/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c27c2ecaf6d60527502576d692af3c12a9cb9c113c1e5c6b97af26b03dcbb8f
|
| 3 |
+
size 3129305312
|