lightx2v commited on
Commit
3eef5ca
·
verified ·
1 Parent(s): 4dbf88d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -17
README.md CHANGED
@@ -16,6 +16,7 @@ tags:
16
 
17
  [![GitHub](https://img.shields.io/badge/GitHub-ModelTC/LightX2V-blue)](https://github.com/ModelTC/LightX2V)
18
  [![HuggingFace](https://img.shields.io/badge/HuggingFace-lightx2v-yellow)](https://huggingface.co/lightx2v/)
 
19
 
20
  ## 📋 Table of Contents
21
 
@@ -44,11 +45,17 @@ We strongly recommend using the official LightX2V Docker image for the cleanest
44
  # 1. Pull LightX2V Docker image
45
  docker pull lightx2v/lightx2v:26052801-cu130-5090
46
 
47
- # 2. Run text-to-video inference
48
- bash scripts/wan22/distill/run_wan22_moe_t2v_extreme.sh
49
-
50
- # 3. Run image-to-video inference
51
- bash scripts/wan22/distill/run_wan22_moe_i2v_extreme.sh
 
 
 
 
 
 
52
  ```
53
 
54
  ### Option B: Manual Installation
@@ -74,16 +81,28 @@ uv build --wheel \
74
 
75
  pip install dist/*whl --force-reinstall --no-deps
76
 
77
- # 3. Run text-to-video inference
78
- bash scripts/wan22/distill/run_wan22_moe_t2v_extreme.sh
79
-
80
- # 4. Run image-to-video inference
81
- bash scripts/wan22/distill/run_wan22_moe_i2v_extreme.sh
 
 
 
 
 
 
82
  ```
83
 
84
- Scripts:
85
- - [run_wan22_moe_t2v_extreme.sh](https://github.com/ModelTC/LightX2V/blob/main/scripts/wan22/distill/run_wan22_moe_t2v_extreme.sh)
86
- - [run_wan22_moe_i2v_extreme.sh](https://github.com/ModelTC/LightX2V/blob/main/scripts/wan22/distill/run_wan22_moe_i2v_extreme.sh)
 
 
 
 
 
 
87
 
88
  ## 🎬 Generation Results
89
 
@@ -104,10 +123,16 @@ Scripts:
104
 
105
  **Test Environment**: RTX 5090 Single GPU | LightX2V Framework | End-to-End Latency
106
 
107
- | Resolution | Wan2.2-T2V-14B | Wan2.2-NVFP4-Sparse | Speedup |
108
- | --- | ---: | ---: | ---: |
109
- | 480p | 734s | 14.15s | 51.9x |
110
- | 720p | 2668s | 45s | 59.3x |
 
 
 
 
 
 
111
 
112
  ## ⚠️ Notes
113
 
 
16
 
17
  [![GitHub](https://img.shields.io/badge/GitHub-ModelTC/LightX2V-blue)](https://github.com/ModelTC/LightX2V)
18
  [![HuggingFace](https://img.shields.io/badge/HuggingFace-lightx2v-yellow)](https://huggingface.co/lightx2v/)
19
+ [![Blog](https://img.shields.io/badge/Blog-Wan2.2--NVFP4--Sparse-green)](https://light-ai.top/LightX2V-BLOG/posts/Wan22-NVFP4-Sparse/)
20
 
21
  ## 📋 Table of Contents
22
 
 
45
  # 1. Pull LightX2V Docker image
46
  docker pull lightx2v/lightx2v:26052801-cu130-5090
47
 
48
+ # 2. Run single-GPU inference
49
+ # Text-to-video
50
+ bash scripts/wan22/extreme/run_wan22_moe_t2v_extreme.sh
51
+ # Image-to-video
52
+ bash scripts/wan22/extreme/run_wan22_moe_i2v_extreme.sh
53
+
54
+ # 3. Run multi-GPU sequence-parallel inference
55
+ # Text-to-video
56
+ bash scripts/wan22/extreme/run_wan22_moe_t2v_extreme_sp_parallel.sh
57
+ # Image-to-video
58
+ bash scripts/wan22/extreme/run_wan22_moe_i2v_extreme_sp_parallel.sh
59
  ```
60
 
61
  ### Option B: Manual Installation
 
81
 
82
  pip install dist/*whl --force-reinstall --no-deps
83
 
84
+ # 3. Run single-GPU inference
85
+ # Text-to-video
86
+ bash scripts/wan22/extreme/run_wan22_moe_t2v_extreme.sh
87
+ # Image-to-video
88
+ bash scripts/wan22/extreme/run_wan22_moe_i2v_extreme.sh
89
+
90
+ # 4. Run multi-GPU sequence-parallel inference
91
+ # Text-to-video
92
+ bash scripts/wan22/extreme/run_wan22_moe_t2v_extreme_sp_parallel.sh
93
+ # Image-to-video
94
+ bash scripts/wan22/extreme/run_wan22_moe_i2v_extreme_sp_parallel.sh
95
  ```
96
 
97
+ **Single-GPU Scripts:**
98
+
99
+ - [run_wan22_moe_t2v_extreme.sh](https://github.com/ModelTC/LightX2V/blob/main/scripts/wan22/extreme/run_wan22_moe_t2v_extreme.sh)
100
+ - [run_wan22_moe_i2v_extreme.sh](https://github.com/ModelTC/LightX2V/blob/main/scripts/wan22/extreme/run_wan22_moe_i2v_extreme.sh)
101
+
102
+ **Multi-GPU Scripts:**
103
+
104
+ - [run_wan22_moe_t2v_extreme_sp_parallel.sh](https://github.com/ModelTC/LightX2V/blob/main/scripts/wan22/extreme/run_wan22_moe_t2v_extreme_sp_parallel.sh)
105
+ - [run_wan22_moe_i2v_extreme_sp_parallel.sh](https://github.com/ModelTC/LightX2V/blob/main/scripts/wan22/extreme/run_wan22_moe_i2v_extreme_sp_parallel.sh)
106
 
107
  ## 🎬 Generation Results
108
 
 
123
 
124
  **Test Environment**: RTX 5090 Single GPU | LightX2V Framework | End-to-End Latency
125
 
126
+ | Method | Task | GPU Number | Resolution | NFE | E2E Latency | Speedup |
127
+ | --- | :---: | ---: | ---: | ---: | ---: | ---: |
128
+ | Wan2.2-T2V-14B | T2V | 1 | 480p | 40 | 734.0s | 1.0x |
129
+ | Wan2.2-NVFP4-Sparse | T2V | 1 | 480p | 4 | 9.1s | 80.7x |
130
+ | Wan2.2-T2V-14B | T2V | 1 | 720p | 40 | 2668.0s | 1.0x |
131
+ | Wan2.2-NVFP4-Sparse | T2V | 1 | 720p | 4 | 22.5s | 118.7x |
132
+ | Wan2.2-I2V-14B | I2V | 1 | 480p | 40 | 787.0s | 1.0x |
133
+ | Wan2.2-NVFP4-Sparse | I2V | 1 | 480p | 4 | 10.7s | 73.9x |
134
+ | Wan2.2-I2V-14B | I2V | 1 | 720p | 40 | 2685.0s | 1.0x |
135
+ | Wan2.2-NVFP4-Sparse | I2V | 1 | 720p | 4 | 26.7s | 100.5x |
136
 
137
  ## ⚠️ Notes
138