yuzhewu207 commited on
Commit
68c1aac
·
verified ·
1 Parent(s): 33b1c40

weights: causal_dmd/ema_step400 (final DMD run) replaces ema_step300; examples rerun with it

Browse files
code/README.md CHANGED
@@ -89,8 +89,8 @@ export WAN_CKPT=$PWD/checkpoints/Wan2.2-TI2V-5B # the VAE, T5 and tokenizer
89
  ```bash
90
  # the real-time model and five ready-made cases (first frame, proxy video, reference images, our outputs)
91
  huggingface-cli download yuzhewu207/wizard --repo-type dataset \
92
- --include "weights/causal_dmd/ema_step300.safetensors" "examples/*" --local-dir hf_wizard
93
- W=hf_wizard/weights/causal_dmd/ema_step300.safetensors
94
 
95
  # real-time 2-step causal student: an 8 s duel with a character already in the first frame, and an 8 s world edit
96
  C=hf_wizard/examples/duel_bull_character
@@ -115,14 +115,14 @@ DiT checkpoints fine-tuned from Wan2.2-TI2V-5B, in the `weights/` folder of
115
 
116
  | Checkpoint | Stage | Sampling |
117
  |---|---|---|
118
- | `causal_dmd/ema_step300.safetensors` | 4 · real-time causal student (DMD of `causal_cd`, 300 steps, interim) | `causal` / `world`, 2 steps |
119
  | `causal_dmd/ema_step480.safetensors` | 4 · DMD student from an earlier run of the chain, kept for comparison | `causal` / `world`, 2 steps |
120
  | `causal_cd/ema_step10000.safetensors` | 3 · consistency-distilled causal student | `causal` / `world`, 2 steps |
121
  | `causal_teacher/dit_step11000.safetensors` | 2 · causal teacher | teacher of stage 3 |
122
  | `bidirectional/dit_step35000.safetensors` | 1 · bidirectional teacher, all data incl. world-edit clips | `bidirectional`, 30 steps, CFG 3 |
123
 
124
  `causal_cd` is the consistency student of the released chain (stage 3 run from `causal_teacher` with the scripts below).
125
- `causal_dmd/ema_step300` is the DMD student of this `causal_cd` after 300 of 500 planned steps; the final checkpoint will replace it. `ema_step480` comes from an earlier run of the chain.
126
 
127
  **Other base models.** The approach is not tied to Wan: the visual proxy, the reference binding and the training recipe
128
  carry over to other video backbones. We also trained it on [LTX-2.5](https://huggingface.co/Lightricks/LTX-2.5) (22B)
 
89
  ```bash
90
  # the real-time model and five ready-made cases (first frame, proxy video, reference images, our outputs)
91
  huggingface-cli download yuzhewu207/wizard --repo-type dataset \
92
+ --include "weights/causal_dmd/ema_step400.safetensors" "examples/*" --local-dir hf_wizard
93
+ W=hf_wizard/weights/causal_dmd/ema_step400.safetensors
94
 
95
  # real-time 2-step causal student: an 8 s duel with a character already in the first frame, and an 8 s world edit
96
  C=hf_wizard/examples/duel_bull_character
 
115
 
116
  | Checkpoint | Stage | Sampling |
117
  |---|---|---|
118
+ | `causal_dmd/ema_step400.safetensors` | 4 · real-time causal student (DMD of `causal_cd`, step 400 of 500) | `causal` / `world`, 2 steps |
119
  | `causal_dmd/ema_step480.safetensors` | 4 · DMD student from an earlier run of the chain, kept for comparison | `causal` / `world`, 2 steps |
120
  | `causal_cd/ema_step10000.safetensors` | 3 · consistency-distilled causal student | `causal` / `world`, 2 steps |
121
  | `causal_teacher/dit_step11000.safetensors` | 2 · causal teacher | teacher of stage 3 |
122
  | `bidirectional/dit_step35000.safetensors` | 1 · bidirectional teacher, all data incl. world-edit clips | `bidirectional`, 30 steps, CFG 3 |
123
 
124
  `causal_cd` is the consistency student of the released chain (stage 3 run from `causal_teacher` with the scripts below).
125
+ `causal_dmd/ema_step400` is the DMD student of this `causal_cd` at step 400 of a 500-step run, chosen over steps 300–500 by evaluation. `ema_step480` comes from an earlier run of the chain.
126
 
127
  **Other base models.** The approach is not tied to Wan: the visual proxy, the reference binding and the training recipe
128
  carry over to other video backbones. We also trained it on [LTX-2.5](https://huggingface.co/Lightricks/LTX-2.5) (22B)
examples/README.md CHANGED
@@ -18,8 +18,8 @@ Five ready-to-run cases with our outputs. Each folder is a *case* as the inferen
18
  | `fight_character_strikes_player/` | two characters enter from the sides; at 1.6 s character 1 (purple panther) strikes the player, who is knocked down and stays down | `weights/bidirectional/dit_step35000.safetensors` |
19
  | `fight_player_attacks_character/` | two characters enter; at 1.6 s the player attacks character 2 (clockwork titan), which flinches from the hit | `weights/bidirectional/dit_step35000.safetensors` |
20
  | `entry_two_characters/` | two characters with the *same skeleton* and different reference images enter one after the other; only the references tell them apart | `weights/bidirectional/dit_step35000.safetensors` |
21
- | `duel_bull_character/` | 8 s duel with a character that is already in the first frame (a golden bull); the player is knocked down and gets up, the bull keeps its identity through the reference image | `weights/causal_dmd/ema_step300.safetensors` (real time) |
22
- | `world_edit_stairs/` | 8 s world edit: the player walks through a pine forest and stone steps rise out of the ground one by one in the proxy; the player climbs them | `weights/causal_dmd/ema_step300.safetensors` (real time) |
23
 
24
  Run one with the code from [YeyingLab/Wizard](https://github.com/YeyingLab/Wizard) (setup in its README):
25
 
@@ -33,9 +33,9 @@ The two real-time cases (241 frames):
33
 
34
  ```bash
35
  C=examples/duel_bull_character
36
- bash scripts/infer/run_case.sh causal weights/causal_dmd/ema_step300.safetensors $C out.mp4 --ref1 $C/ref_a.png --ref-slots 2,0
37
  C=examples/world_edit_stairs
38
- bash scripts/infer/run_case.sh causal weights/causal_dmd/ema_step300.safetensors $C out.mp4 --ref-slots 0,0
39
  ```
40
 
41
  This writes `out.mp4` (result next to the proxy) and `out_gen.mp4` (result only); `out_gen.mp4` should match `output.mp4`. A bidirectional case takes about 4 minutes on one H200; a real-time case about 2 minutes including model loading.
 
18
  | `fight_character_strikes_player/` | two characters enter from the sides; at 1.6 s character 1 (purple panther) strikes the player, who is knocked down and stays down | `weights/bidirectional/dit_step35000.safetensors` |
19
  | `fight_player_attacks_character/` | two characters enter; at 1.6 s the player attacks character 2 (clockwork titan), which flinches from the hit | `weights/bidirectional/dit_step35000.safetensors` |
20
  | `entry_two_characters/` | two characters with the *same skeleton* and different reference images enter one after the other; only the references tell them apart | `weights/bidirectional/dit_step35000.safetensors` |
21
+ | `duel_bull_character/` | 8 s duel with a character that is already in the first frame (a golden bull); the player is knocked down and gets up, the bull keeps its identity through the reference image | `weights/causal_dmd/ema_step400.safetensors` (real time) |
22
+ | `world_edit_stairs/` | 8 s world edit: the player walks through a pine forest and stone steps rise out of the ground one by one in the proxy; the player climbs them | `weights/causal_dmd/ema_step400.safetensors` (real time) |
23
 
24
  Run one with the code from [YeyingLab/Wizard](https://github.com/YeyingLab/Wizard) (setup in its README):
25
 
 
33
 
34
  ```bash
35
  C=examples/duel_bull_character
36
+ bash scripts/infer/run_case.sh causal weights/causal_dmd/ema_step400.safetensors $C out.mp4 --ref1 $C/ref_a.png --ref-slots 2,0
37
  C=examples/world_edit_stairs
38
+ bash scripts/infer/run_case.sh causal weights/causal_dmd/ema_step400.safetensors $C out.mp4 --ref-slots 0,0
39
  ```
40
 
41
  This writes `out.mp4` (result next to the proxy) and `out_gen.mp4` (result only); `out_gen.mp4` should match `output.mp4`. A bidirectional case takes about 4 minutes on one H200; a real-time case about 2 minutes including model loading.
examples/duel_bull_character/output.mp4 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f3858e7fa36c91fa10fe9041ceeeae1fb84ddf9131d7968589d4468cb84ddccb
3
- size 6924809
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1b51ecdeedf93afb0c7085d35aa99216a4d127c770a309021b2b024e6c0103b
3
+ size 6738029
examples/world_edit_stairs/output.mp4 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:61faf8c55e28b448358347ae44643a5925092f748f1a2ee4fdb95fa0016f3387
3
- size 6011585
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64ac42a19ac14544164ae32231a0873bccbe05735895b128be1eb136c796552d
3
+ size 6271764
weights/README.md CHANGED
@@ -7,8 +7,8 @@ DiT weights fine-tuned from [Wan2.2-TI2V-5B](https://huggingface.co/Wan-AI/Wan2.
7
  | `bidirectional/dit_step35000.safetensors` | bidirectional model, 35K steps, trained with the world-edit clips in addition (the full model of the ablation table; starting point of the current distillation chain) | 30 steps, guidance 3 |
8
  | `causal_teacher/dit_step11000.safetensors` | stage 1: causal adaptation of `bidirectional` by teacher forcing with history corruption, 11K steps. The teacher for consistency distillation (`scripts/train/3_consistency.sh`) | many-step, guidance 3, 20-latent history window + first-frame anchor |
9
  | `causal_cd/ema_step10000.safetensors` | stage 2: consistency-distilled EMA student, 10K steps from `causal_teacher` (`scripts/train/3_consistency.sh`, memory candidates from the past and the future). The student of the final DMD run; use it as the student of `scripts/train/4_dmd.sh` | 2–4 steps, no guidance |
10
- | `causal_dmd/ema_step300.safetensors` | stage 3: DMD student of `causal_cd` above (`scripts/train/4_dmd.sh`, real / fake score from `bidirectional`, guidance 3), EMA after 300 of the planned 500 DMD steps (interim release; the final checkpoint will replace it) | 2 steps, streaming, 20-latent history window + first-frame anchor |
11
- | `causal_dmd/ema_step480.safetensors` | causal few-step student (causal adaptation → consistency distillation → DMD, 480 DMD steps, EMA), from an earlier run of the chain (older consistency student); superseded by `ema_step300`, kept for comparison | 2 steps, streaming, 20-latent history window + first-frame anchor |
12
  | `ltx25_lora/lora_weights_step_10000.safetensors` | the same approach on another base model: a rank-32 LoRA for [LTX-2.5](https://huggingface.co/Lightricks/LTX-2.5) (22B), trained 10K steps on the mixed synthetic + real data with reference images, with the earlier proxy format (skeletons on coarse scene geometry, no tiers / memory); `training_config.yaml` is its training configuration. Subject to the LTX-2.5 licence | LTX-2.5 bidirectional sampling, 30 steps |
13
 
14
  Each file holds 829 tensors: the Wan2.2 DiT blocks plus the added `cond_embedding` (proxy video) and `gbuf_embedding` (world-coordinate tokens) layers. Resolution 832×480, 121 frames at 30 fps per window.
 
7
  | `bidirectional/dit_step35000.safetensors` | bidirectional model, 35K steps, trained with the world-edit clips in addition (the full model of the ablation table; starting point of the current distillation chain) | 30 steps, guidance 3 |
8
  | `causal_teacher/dit_step11000.safetensors` | stage 1: causal adaptation of `bidirectional` by teacher forcing with history corruption, 11K steps. The teacher for consistency distillation (`scripts/train/3_consistency.sh`) | many-step, guidance 3, 20-latent history window + first-frame anchor |
9
  | `causal_cd/ema_step10000.safetensors` | stage 2: consistency-distilled EMA student, 10K steps from `causal_teacher` (`scripts/train/3_consistency.sh`, memory candidates from the past and the future). The student of the final DMD run; use it as the student of `scripts/train/4_dmd.sh` | 2–4 steps, no guidance |
10
+ | `causal_dmd/ema_step400.safetensors` | stage 3: DMD student of `causal_cd` above (`scripts/train/4_dmd.sh`, real / fake score from `bidirectional`, guidance 3), EMA at step 400 of the 500-step DMD run, selected over steps 300–500 by evaluation | 2 steps, streaming, 20-latent history window + first-frame anchor |
11
+ | `causal_dmd/ema_step480.safetensors` | causal few-step student (causal adaptation → consistency distillation → DMD, 480 DMD steps, EMA), from an earlier run of the chain (older consistency student); superseded by `ema_step400`, kept for comparison | 2 steps, streaming, 20-latent history window + first-frame anchor |
12
  | `ltx25_lora/lora_weights_step_10000.safetensors` | the same approach on another base model: a rank-32 LoRA for [LTX-2.5](https://huggingface.co/Lightricks/LTX-2.5) (22B), trained 10K steps on the mixed synthetic + real data with reference images, with the earlier proxy format (skeletons on coarse scene geometry, no tiers / memory); `training_config.yaml` is its training configuration. Subject to the LTX-2.5 licence | LTX-2.5 bidirectional sampling, 30 steps |
13
 
14
  Each file holds 829 tensors: the Wan2.2 DiT blocks plus the added `cond_embedding` (proxy video) and `gbuf_embedding` (world-coordinate tokens) layers. Resolution 832×480, 121 frames at 30 fps per window.
weights/causal_dmd/{ema_step300.safetensors → ema_step400.safetensors} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:180c4a60c575056b196b77c3f7b5dcaa6cb737dbd0ca49a46331856e025bfcf3
3
  size 10021692456
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c99794e812794df69415e92f3c9ea6dc3cb796ea98762df1f04e055403c3ae7
3
  size 10021692456