Run this model with HF Jobs
Run lightx2v/Wan2.2-Distill-Models 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/lightx2v/Wan2.2-Distill-Models. 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/lightx2v/Wan2.2-Distill-Models 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 lightx2v/Wan2.2-Distill-Models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lightx2v/Wan2.2-Distill-Models with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lightx2v/Wan2.2-Distill-Models", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Diffusion Single File
How to use lightx2v/Wan2.2-Distill-Models with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (3)
123version https://git-lfs.github.com/spec/v1oid sha256:ce25c1cc5be74f69d6fb68237548bd8a6cf2b63fd25cc6ab1ddc5dab0d3a168esize 15007792120123version https://git-lfs.github.com/spec/v1oid sha256:e2daa4d4b069d9b3b091e5e2d5a96631d4676305a690a653e2c756a12c861d6fsize 28577915880123version https://git-lfs.github.com/spec/v1oid sha256:3c3f1347c52aaee44594608fcde1fbc1d838441f56d703985e03a39120595ad8size 15007794120wan2.2_i2v_A14b_high_noise_int8_lightx2v_4step_1030.safetensorsAdded+3
wan2.2_i2v_A14b_high_noise_lightx2v_4step_1030.safetensorsAdded+3
wan2.2_i2v_A14b_high_noise_scaled_fp8_e4m3_lightx2v_4step_1030.safetensorsAdded+3