Instructions to use LiJiaxing/DistillAlign with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SelfForcing
How to use LiJiaxing/DistillAlign with SelfForcing:
# 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
Add model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
pipeline_tag: text-to-video
|
| 4 |
+
tags:
|
| 5 |
+
- video-generation
|
| 6 |
+
- autoregressive-video
|
| 7 |
+
- diffusion-distillation
|
| 8 |
+
- wan2.1
|
| 9 |
+
- self-forcing
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# DistillAlign: Coordinating Mode Covering and Mode Seeking in Autoregressive Video Distillation
|
| 13 |
+
|
| 14 |
+
**DistillAlign** aligns and balances the **mode-covering** and **mode-seeking**
|
| 15 |
+
objectives of the multi-stage video distillation pipeline — using only a
|
| 16 |
+
**1.3B DMD teacher**, it already surpasses baselines refined with a **14B DMD
|
| 17 |
+
teacher**.
|
| 18 |
+
|
| 19 |
+
[Project Page](https://lijiaxing0213.github.io/DistillAlign) ·
|
| 20 |
+
[Code](https://github.com/LiJiaxing0213/DistillAlign-release)
|
| 21 |
+
|
| 22 |
+
## Checkpoints
|
| 23 |
+
|
| 24 |
+
All released generators are **Wan2.1-1.3B students**; the size in each name
|
| 25 |
+
refers to the **teacher** used during training.
|
| 26 |
+
|
| 27 |
+
| Model | Checkpoint | Description |
|
| 28 |
+
|---|---|---|
|
| 29 |
+
| Initializer (1.3B teacher) | [distillalign_init_1p3b_teacher.pt](https://huggingface.co/LiJiaxing/DistillAlign/blob/main/checkpoints/distillalign_init_1p3b_teacher.pt) | Pre-DMD initializer, trained toward a Wan2.1-T2V-1.3B teacher |
|
| 30 |
+
| Initializer (14B teacher) | [distillalign_init_14b_teacher.pt](https://huggingface.co/LiJiaxing/DistillAlign/blob/main/checkpoints/distillalign_init_14b_teacher.pt) | Pre-DMD initializer, trained toward a Wan2.1-T2V-14B teacher |
|
| 31 |
+
| Distilled (1.3B teacher) | [distillalign_distill_1p3b_teacher.pt](https://huggingface.co/LiJiaxing/DistillAlign/blob/main/checkpoints/distillalign_distill_1p3b_teacher.pt) | Final joint-distilled generator, Wan2.1-T2V-1.3B DMD teacher |
|
| 32 |
+
| Distilled (14B teacher) | [distillalign_distill_14b_teacher.pt](https://huggingface.co/LiJiaxing/DistillAlign/blob/main/checkpoints/distillalign_distill_14b_teacher.pt) | Final joint-distilled generator, Wan2.1-T2V-14B DMD teacher |
|
| 33 |
+
|
| 34 |
+
Each checkpoint stores a plain `{"generator": state_dict}` and loads directly
|
| 35 |
+
with the released inference and evaluation code.
|
| 36 |
+
|
| 37 |
+
## Evaluation Caches
|
| 38 |
+
|
| 39 |
+
Teacher reference artifacts for the teacher-normalized distribution
|
| 40 |
+
evaluation (16 prompts x 16 seeds, 25-step UniPC, timestep shift 8.0,
|
| 41 |
+
CFG 5.0; V-JEPA2 ViT-H features, 2560-D):
|
| 42 |
+
|
| 43 |
+
| Cache | Download | Description |
|
| 44 |
+
|---|---|---|
|
| 45 |
+
| Wan2.1-1.3B teacher reference features | [wan2.1_t2v_1.3b_reference_vjepa2.npz](https://huggingface.co/LiJiaxing/DistillAlign/blob/main/teacher_caches/wan2.1_t2v_1.3b_reference_vjepa2.npz) | 256 x 2560 features, ready for `--teacher-features` |
|
| 46 |
+
| Wan2.1-14B teacher reference features | [wan2.1_t2v_14b_reference_vjepa2.npz](https://huggingface.co/LiJiaxing/DistillAlign/blob/main/teacher_caches/wan2.1_t2v_14b_reference_vjepa2.npz) | 256 x 2560 features, ready for `--teacher-features` |
|
| 47 |
+
| Teacher reference videos | [teacher_caches/videos](https://huggingface.co/LiJiaxing/DistillAlign/tree/main/teacher_caches/videos) | 256 reference videos per teacher, for inspection and re-extraction |
|
| 48 |
+
|
| 49 |
+
See [teacher_caches/README.md](https://huggingface.co/LiJiaxing/DistillAlign/blob/main/teacher_caches/README.md)
|
| 50 |
+
for the exact protocol.
|
| 51 |
+
|
| 52 |
+
## Results
|
| 53 |
+
|
| 54 |
+
Teacher-normalized distribution evaluation (re-noise strength 0.9, PRDC with
|
| 55 |
+
`k=5`, 256 samples per method, evaluated against the released teacher
|
| 56 |
+
caches):
|
| 57 |
+
|
| 58 |
+
| Checkpoint | Teacher | Precision | Coverage |
|
| 59 |
+
|---|---|---|---|
|
| 60 |
+
| Initializer (1.3B teacher) | Wan2.1-T2V-1.3B | 0.672 | 0.605 |
|
| 61 |
+
| Distilled (1.3B teacher) | Wan2.1-T2V-1.3B | **0.727** | **0.680** |
|
| 62 |
+
| Initializer (14B teacher) | Wan2.1-T2V-14B | 0.758 | 0.609 |
|
| 63 |
+
| Distilled (14B teacher) | Wan2.1-T2V-14B | **0.820** | **0.660** |
|
| 64 |
+
|
| 65 |
+
## Quick Start
|
| 66 |
+
|
| 67 |
+
```bash
|
| 68 |
+
git clone https://github.com/LiJiaxing0213/DistillAlign-release
|
| 69 |
+
cd DistillAlign-release
|
| 70 |
+
# environment setup: see README
|
| 71 |
+
|
| 72 |
+
python inference.py \
|
| 73 |
+
--config_path configs/self_forcing_dmd.yaml \
|
| 74 |
+
--checkpoint_path checkpoints/distillalign_distill_14b_teacher.pt \
|
| 75 |
+
--prompt "A young couple stands side by side under a vast, starry night sky." \
|
| 76 |
+
--output_path outputs/inference_case.mp4
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
The full teacher-normalized distribution-evaluation pipeline is documented in
|
| 80 |
+
the [code repository](https://github.com/LiJiaxing0213/DistillAlign-release).
|
| 81 |
+
|
| 82 |
+
## Citation
|
| 83 |
+
|
| 84 |
+
```bibtex
|
| 85 |
+
@misc{li2026distillalign,
|
| 86 |
+
title = {DistillAlign: Coordinating Mode Covering and Mode Seeking in Autoregressive Video Distillation},
|
| 87 |
+
author = {Li, Jiaxing and Zou, Kai and Zhou, Cindy and Huang, Kaichen and Gao, Junyao and Wang, Zile and Liu, Yang and Liu, Bin and An, Bo and Li, Yangguang},
|
| 88 |
+
year = {2026},
|
| 89 |
+
url = {https://lijiaxing0213.github.io/DistillAlign}
|
| 90 |
+
}
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
## License
|
| 94 |
+
|
| 95 |
+
The code and released weights follow the Apache License 2.0; upstream
|
| 96 |
+
Wan2.1 model weights remain subject to their own licenses.
|