Instructions to use lightx2v/LightWan2.2-A14B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lightx2v/LightWan2.2-A14B 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/LightWan2.2-A14B", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,13 +10,13 @@ tags:
|
|
| 10 |
- Sparse_Attention
|
| 11 |
- Wan
|
| 12 |
---
|
| 13 |
-
# 🎬
|
| 14 |
|
| 15 |
> **An extremely efficient Wan 2.2 14B variant: NVFP4 Quantization-Aware Step Distillation with Sparse Attention for Blackwell Architecture**
|
| 16 |
|
| 17 |
[](https://github.com/ModelTC/LightX2V)
|
| 18 |
-
[](https://github.com/ModelTC/LightX2V)
|
| 18 |
+
[](https://huggingface.co/lightx2v/LightWan2.2-A14B)
|
| 19 |
+
[](https://light-ai.top/LightX2V-BLOG/posts/LightWan22-A14B/)
|
| 20 |
|
| 21 |
## 📋 Table of Contents
|
| 22 |
|
|
|
|
| 113 |
</div>
|
| 114 |
|
| 115 |
|
| 116 |
+
| Resolution | Wan2.2-T2V-14B | LightWan2.2-A14B |
|
| 117 |
| --- | --- | --- |
|
| 118 |
| 480p | <video controls style="width: 260px; height: 180px; border-radius: 6px; object-fit: cover;" src="https://cdn-uploads.huggingface.co/production/uploads/658e760cccbc1e2cc78b4258/WTHhrzx7XR4S1Ys_6Kzx4.mp4"></video> | <video controls style="width: 260px; height: 180px; border-radius: 6px; object-fit: cover;" src="https://cdn-uploads.huggingface.co/production/uploads/658e760cccbc1e2cc78b4258/zorpw7gm9At0J2kCmvkDr.mp4"></video> |
|
| 119 |
| 720p | <video controls style="width: 260px; height: 180px; border-radius: 6px; object-fit: cover;" src="https://cdn-uploads.huggingface.co/production/uploads/658e760cccbc1e2cc78b4258/vkiyKj7CJA-r0yTz7TEum.mp4"></video> | <video controls style="width: 260px; height: 180px; border-radius: 6px; object-fit: cover;" src="https://cdn-uploads.huggingface.co/production/uploads/658e760cccbc1e2cc78b4258/TuECbzvW5jI9NHG6GLvIR.mp4"></video> |
|
|
|
|
| 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 |
+
| LightWan2.2-A14B | T2V | 1 | 480p | 4 | 9.1s | 80.7x |
|
| 130 |
| Wan2.2-T2V-14B | T2V | 1 | 720p | 40 | 2668.0s | 1.0x |
|
| 131 |
+
| LightWan2.2-A14B | T2V | 1 | 720p | 4 | 22.5s | 118.7x |
|
| 132 |
| Wan2.2-I2V-14B | I2V | 1 | 480p | 40 | 787.0s | 1.0x |
|
| 133 |
+
| LightWan2.2-A14B | I2V | 1 | 480p | 4 | 10.7s | 73.9x |
|
| 134 |
| Wan2.2-I2V-14B | I2V | 1 | 720p | 40 | 2685.0s | 1.0x |
|
| 135 |
+
| LightWan2.2-A14B | I2V | 1 | 720p | 4 | 26.7s | 100.5x |
|
| 136 |
|
| 137 |
## ⚠️ Notes
|
| 138 |
|