Run this model with HF Jobs
Run neithsan/wan21 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/neithsan/wan21. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/neithsan/wan21 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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 filesFiles changed (6)
123version https://git-lfs.github.com/spec/v1oid sha256:e5c9b431cbd9d2bb5ebb0ffe845ec352ae414f85814a822179cac53423ccdf5csize 6259248218123version https://git-lfs.github.com/spec/v1oid sha256:a92d79cfea635889fd387634ec679df00aa7830f84839b07c852ae8858858718size 14821123version https://git-lfs.github.com/spec/v1oid sha256:ff0293f4beee2f3a4c999b367269d3e3cf59798c2c1346c0806ddecf1898a3c0size 20123version https://git-lfs.github.com/spec/v1oid sha256:26a3f00162fcf215e03c2cedd50cf2290f2896118cd374c5613de40041a82dc1size 146512345678910111213141516171819202122232425262728293031323334{ "_class_name": "WanTransformer3DModel", "_diffusers_version": "0.38.0", "add_control_adapter": false, "add_ref_conv": true, "cross_attn_norm": true, "cross_attn_type": null, "dim": 1536, "downscale_factor_control_adapter": 8, "eps": 1e-06, "ffn_dim": 8960, "freq_dim": 256, "hidden_size": 1536, "in_channels": 48, "in_dim": 48, "in_dim_control_adapter": 24, "in_dim_ref_conv": 16, "model_type": "i2v", "num_heads": 12, "num_layers": 30, "out_dim": 16, "patch_size": [ 1, 2, 2 ], "qk_norm": true, "text_dim": 4096, "text_len": 512, "window_size": [ -1, -1 ]}123version https://git-lfs.github.com/spec/v1oid sha256:8c27c2ecaf6d60527502576d692af3c12a9cb9c113c1e5c6b97af26b03dcbb8fsize 3129305312checkpoint-4300/optimizer.binAdded+3
checkpoint-4300/random_states_0.pklAdded+3
checkpoint-4300/sampler_pos_start.pklAdded+3
checkpoint-4300/scheduler.binAdded+3
checkpoint-4300/transformer/config.jsonAdded+34
checkpoint-4300/transformer/diffusion_pytorch_model.safetensorsAdded+3