This repository contains LoRA (Low-Rank Adaptation) adapters for the LightX2V Text-to-Video model. These adapters enable efficient fine-tuning and inference with reduced computational requirements.
Choose the appropriate rank based on your requirements:
Rank
File Size
Quality
Speed
VRAM Usage
Recommended For
8
Smallest
Basic
Fastest
Minimal
Quick testing, low-resource systems
16
Small
Good
Fast
Low
Balanced performance/quality
32
Medium
Better
Moderate
Medium
General use cases
64
Large
High
Slower
Higher
Quality-focused applications
128
Largest
Highest
Slowest
Highest
Maximum quality requirements
๐ Usage
Using with Diffusers
from diffusers import DiffusionPipeline
import torch
# Load base model
pipe = DiffusionPipeline.from_pretrained(
"lightx2v/lightx2v-t2v-14b",
torch_dtype=torch.bfloat16
)
# Load LoRA adapter (example with rank 32)
pipe.load_lora_weights(
"your-username/wan-lightx2v",
weight_name="loras/wan/wan-lightx2v-t2v-14b-cfg-step-distill-v2-rank32-bf16.safetensors"
)
# Generate video
prompt = "A beautiful sunset over the ocean with waves crashing"
video = pipe(prompt).frames
# Save video# ... your video saving code here
Using with ComfyUI
Download the desired LoRA file
Place it in your
ComfyUI/models/loras/
directory
In your workflow, add a "Load LoRA" node
Select the corresponding LoRA file
Adjust the strength (recommended: 0.8-1.0)
Using with Other Frameworks
These
.safetensors
files are compatible with any framework that supports LoRA loading for diffusion models.
โ๏ธ Technical Details
CFG Step Distillation
These LoRAs utilize Classifier-Free Guidance (CFG) step distillation, which:
Reduces the number of inference steps required
Maintains or improves generation quality
Accelerates video generation process
Optimizes the guidance scale behavior
BF16 Precision
The adapters use Brain Floating Point 16 (BF16) format:
Better numerical stability than FP16
Wider dynamic range
Recommended for modern GPUs (Ampere architecture and newer)
Compatible with mixed-precision training and inference
๐ Performance Benchmarks
(Add your benchmark results here if available)
๐ง Requirements
Python 3.8+
PyTorch 2.0+ (with BF16 support)
Diffusers library
GPU with BF16 support (NVIDIA Ampere or newer recommended)
Sufficient VRAM based on chosen rank
๐ Citation
If you use these LoRA adapters in your research or projects, please cite:
(Specify your license here - e.g., MIT, Apache 2.0, Creative Commons, etc.)
๐ค Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
๐ง Contact
(Add your contact information or links to your social media/website)
๐ Acknowledgments
LightX2V team for the base model
Community contributors and testers
Note
: This is a model repository. Please ensure you have the necessary computational resources and comply with the base model's license terms when using these adapters.
Runs of wangkanai wan-lightx2v on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About wan-lightx2v huggingface.co Model
wan-lightx2v huggingface.co
wan-lightx2v huggingface.co is an AI model on huggingface.co that provides wan-lightx2v's model effect (), which can be used instantly with this wangkanai wan-lightx2v model. huggingface.co supports a free trial of the wan-lightx2v model, and also provides paid use of the wan-lightx2v. Support call wan-lightx2v model through api, including Node.js, Python, http.
wan-lightx2v huggingface.co is an online trial and call api platform, which integrates wan-lightx2v's modeling effects, including api services, and provides a free online trial of wan-lightx2v, you can try wan-lightx2v online for free by clicking the link below.
wangkanai wan-lightx2v online free url in huggingface.co:
wan-lightx2v is an open source model from GitHub that offers a free installation service, and any user can find wan-lightx2v on GitHub to install. At the same time, huggingface.co provides the effect of wan-lightx2v install, users can directly use wan-lightx2v installed effect in huggingface.co for debugging and trial. It also supports api for free installation.