Instructions to use lightx2v/Wan2.2-Distill-Loras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lightx2v/Wan2.2-Distill-Loras with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.2-I2V-A14B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("lightx2v/Wan2.2-Distill-Loras") prompt = "A man with short gray hair plays a red electric guitar." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") output = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Diffusion Single File
How to use lightx2v/Wan2.2-Distill-Loras 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
- Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Commit History
12 days ago
-
Update README.md
Verified signaturedocs: fix Wan2.2 LoRA configuration and inference instructions57adea5
-
Upload 2 files
Verified signature5700441
-
adds 'lora' tag (#10)
Verified signature- adds 'lora' tag (7bf4fc11029052cdbd120418fda0bfc5b97af781) Co-authored-by: Linoy Tsaban <linoyts@users.noreply.huggingface.co>4c1d305
-
add pipeline tag for better discoverability :) (#8)
Verified signature- add pipeline tag for better discoverability :) (457a782aa7c6ad1c414399db0e390e6e44a41e73) Co-authored-by: Linoy Tsaban <linoyts@users.noreply.huggingface.co>b2cf448 -
Update README.md
Verified signature9d3d831 -
Update README.md
Verified signatured27253d
-
Update README.md
Verified signature8bec9b9 -
Upload wan2.2_i2v_scale_fp8_comfyui_with_lora.json
Verified signature8f04a5a -
Delete wan2.2_i2v_A14b_low_noise_lora_rank64_lightx2v_4step.safetensors
Verified signature06b63fe -
Delete wan2.2_i2v_A14b_high_noise_lora_rank64_lightx2v_4step.safetensors
Verified signature9ff6e8a -
Upload folder using huggingface_hub
Verified signature3ece978
-
Delete high_noise_model
Verified signatureebe0142 -
Delete low_noise_model
Verified signature60c1c3c -
Upload 2 files
Verified signature058da54 -
Update README.md
Verified signature825c3f0 -
Update README.md
Verified signatureb8c63ab -
Create README.md
Verified signature5a00694
-
Rename low_noise_model/low_noise_model_rank64.safetensors to low_noise_model/wan2.2_i2v_A14b_low_noise_lora_rank64_lightx2v_4step.safetensors
Verified signature4bfe244 -
Rename high_noise_model/high_noise_model_rank64.safetensors to high_noise_model/wan2.2_i2v_A14b_high_noise_lora_rank64_lightx2v_4step.safetensors
Verified signatured2ace1d -
Delete low_noise_model/tmp.txt
Verified signature4bb8aae -
Delete high_noise_model/tmp.txt
Verified signaturee585d99 -
Upload low_noise_model_rank64.safetensors
Verified signaturec32ee0f -
Upload high_noise_model_rank64.safetensors
Verified signaturee1e5587 -
Upload folder using huggingface_hub
Verified signatureba36ccd -
Upload folder using huggingface_hub
Verified signature99d588c -
Delete low_noise_model
Verified signature354b652 -
Create low_noise_model
Verified signature9140ac1 -
initial commit
Verified signature2041357