Text-to-Video
Diffusers
Diffusion Single File
English
Chinese
t2v
video generation
comfyui
distillation
LoRA
Instructions to use lightx2v/Wan2.1-T2V-14B-StepDistill-CfgDistill with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lightx2v/Wan2.1-T2V-14B-StepDistill-CfgDistill 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.1-T2V-14B-StepDistill-CfgDistill", 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.1-T2V-14B-StepDistill-CfgDistill 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
Can I use the framework to distill a bidirectional HunyuanVideo(-I2V) model?
#13
by SnowflakeWang - opened
Hello, thank you for your great work!
I am inspired by your usage of self-forcing to accelerate bidirectional Wan model! Another open-source model, HunyuanVideo(-I2V) is also a bidirectional one. I wonder whether I can use your training framework to accelerate my HunyuanVideo(-I2V) model? Can I directly train a LoRA on a specific small dataset for HunyuanVideo(-I2V) to accelerate the generation?
Thanks a lot!
SnowflakeWang changed discussion title from Can I use the framework to distill a bidirectional HunyuanVideo/HunyuanVideo-I2V model? to Can I use the framework to distill a bidirectional HunyuanVideo(-I2V) model?