CoolFace
Modelpublic

lightx2v/Wan2.1-Distill-Models

sourceHugging Faceapache-2.0updated 10mo agoView on Hugging Face
33likes8.6kdownloads
Model Card

<div align="center">

๐ŸŽฌ Wan2.1 Distilled Models

โšก High-Performance Video Generation with 4-Step Inference

Distillation-accelerated versions of Wan2.1 - Dramatically faster while maintaining exceptional quality

image/png


![๐Ÿค— HuggingFace](https://huggingface.co/lightx2v/Wan2.1-Distill-Models) ![GitHub](https://github.com/ModelTC/LightX2V) ![License](LICENSE)

</div>


๐ŸŒŸ What's Special?

<table> <tr> <td width="50%">

โšก Ultra-Fast Generation

  • โ€”4-step inference (vs traditional 50+ steps)
  • โ€”Up to 2x faster than ComfyUI
  • โ€”Real-time video generation capability

</td> <td width="50%">

๐ŸŽฏ Flexible Options

  • โ€”Multiple resolutions (480P/720P)
  • โ€”Various precision formats (BF16/FP8/INT8)
  • โ€”I2V and T2V support

</td> </tr> <tr> <td width="50%">

๐Ÿ’พ Memory Efficient

  • โ€”FP8/INT8: ~50% size reduction
  • โ€”CPU offload support
  • โ€”Optimized for consumer GPUs

</td> <td width="50%">

๐Ÿ”ง Easy Integration

  • โ€”Compatible with LightX2V framework
  • โ€”ComfyUI support available
  • โ€”Simple configuration files

</td> </tr> </table>


๐Ÿ“ฆ Model Catalog

๐ŸŽฅ Model Types

<table> <tr> <td align="center" width="50%">

๐Ÿ–ผ๏ธ Image-to-Video (I2V)

Transform still images into dynamic videos

  • โ€”๐Ÿ“บ 480P Resolution
  • โ€”๐ŸŽฌ 720P Resolution

</td> <td align="center" width="50%">

๐Ÿ“ Text-to-Video (T2V)

Generate videos from text descriptions

  • โ€”๐Ÿš€ 14B Parameters
  • โ€”๐ŸŽจ High-quality synthesis

</td> </tr> </table>

๐ŸŽฏ Precision Variants

PrecisionModel IdentifierModel SizeFrameworkQuality vs Speed
๐Ÿ† BF16lightx2v_4step~28-32 GBLightX2Vโญโญโญโญโญ Highest quality
โšก FP8scaled_fp8_e4m3_lightx2v_4step~15-17 GBLightX2Vโญโญโญโญ Excellent balance
๐ŸŽฏ INT8int8_lightx2v_4step~15-17 GBLightX2Vโญโญโญโญ Fast & efficient
๐Ÿ”ท FP8 ComfyUIscaled_fp8_e4m3_lightx2v_4step_comfyui~15-17 GBComfyUIโญโญโญ ComfyUI ready

๐Ÿ“ Naming Convention

bash
# Pattern: wan2.1_{task}_{resolution}_{precision}.safetensors

# Examples:
wan2.1_i2v_720p_lightx2v_4step.safetensors                          # 720P I2V - BF16
wan2.1_i2v_720p_scaled_fp8_e4m3_lightx2v_4step.safetensors         # 720P I2V - FP8
wan2.1_i2v_480p_int8_lightx2v_4step.safetensors                    # 480P I2V - INT8
wan2.1_t2v_14b_scaled_fp8_e4m3_lightx2v_4step_comfyui.safetensors  # T2V - FP8 ComfyUI
๐Ÿ’ก Explore all models: Browse Full Model Collection โ†’

๐Ÿš€ Usage

LightX2V is a high-performance inference framework optimized for these models, approximately 2x faster than ComfyUI with better quantization accuracy. Highly recommended!

Quick Start
  1. 1.Download model (720P I2V FP8 example)
bash
huggingface-cli download lightx2v/Wan2.1-Distill-Models \
    --local-dir ./models/wan2.1_i2v_720p \
    --include "wan2.1_i2v_720p_scaled_fp8_e4m3_lightx2v_4step.safetensors"
  1. 1.Clone LightX2V repository
bash
git clone https://github.com/ModelTC/LightX2V.git
cd LightX2V
  1. 1.Install dependencies
bash
pip install -r requirements.txt

Or refer to Quick Start Documentation to use docker

  1. 1.Select and modify configuration file

Choose the appropriate configuration based on your GPU memory:

For 80GB+ GPU (A100/H100)

For 24GB+ GPU (RTX 4090)

  1. 1.Run inference
cd scripts
bash wan/run_wan_i2v_distill_4step_cfg.sh
Documentation
Performance Advantages
  • โ€”โšก Fast: Approximately 2x faster than ComfyUI
  • โ€”๐ŸŽฏ Optimized: Deeply optimized for distilled models
  • โ€”๐Ÿ’พ Memory Efficient: Supports CPU offload and other memory optimization techniques
  • โ€”๐Ÿ› ๏ธ Flexible: Supports multiple quantization formats and configuration options

Community

  • โ€”Issues: https://github.com/ModelTC/LightX2V/issues

โš ๏ธ Important Notes

  1. 1.Additional Components: These models only contain DIT weights. You also need:
  2. 2.T5 text encoder
  3. 3.CLIP vision encoder
  4. 4.VAE encoder/decoder
  5. 5.Tokenizers

Refer to LightX2V Documentation for how to organize the complete model directory.

If you find this project helpful, please give us a โญ on GitHub