yuzhewu207 commited on
Commit
7048667
·
verified ·
1 Parent(s): cdb4051

weights: LTX-2.5 LoRA (same approach on another base model)

Browse files
weights/README.md CHANGED
@@ -9,6 +9,7 @@ DiT weights fine-tuned from [Wan2.2-TI2V-5B](https://huggingface.co/Wan-AI/Wan2.
9
  | `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/distill_consistency.sh`) | many-step, guidance 3, 20-latent history window + first-frame anchor |
10
  | `causal_cd/ema_step10000.safetensors` | stage 2 of the earlier chain: consistency-distilled EMA student, 10K steps, from the causal teacher of `bidirectional_main`. The student that `causal_dmd` was started from; use it as `STUDENT` in `scripts/distill_dmd.sh` | 2–4 steps, no guidance |
11
  | `causal_dmd/ema_step480.safetensors` | causal few-step student (causal adaptation → consistency distillation → DMD, 480 DMD steps, EMA), distilled from `bidirectional_main` | 2 steps, streaming, 20-latent history window + first-frame anchor |
 
12
 
13
  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.
14
 
 
9
  | `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/distill_consistency.sh`) | many-step, guidance 3, 20-latent history window + first-frame anchor |
10
  | `causal_cd/ema_step10000.safetensors` | stage 2 of the earlier chain: consistency-distilled EMA student, 10K steps, from the causal teacher of `bidirectional_main`. The student that `causal_dmd` was started from; use it as `STUDENT` in `scripts/distill_dmd.sh` | 2–4 steps, no guidance |
11
  | `causal_dmd/ema_step480.safetensors` | causal few-step student (causal adaptation → consistency distillation → DMD, 480 DMD steps, EMA), distilled from `bidirectional_main` | 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.
15
 
weights/ltx25_lora/lora_weights_step_10000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f9abb10c7195610ef9b1030052925da95a775fe373e25140519fba3de064cdd
3
+ size 327287352
weights/ltx25_lora/training_config.yaml ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ acceleration:
2
+ load_text_encoder_in_8bit: false
3
+ mixed_precision_mode: bf16
4
+ offload_optimizer_during_validation: true
5
+ quantization: null
6
+ checkpoints:
7
+ interval: 500
8
+ keep_last_n: 40
9
+ no_resume: false
10
+ precision: bfloat16
11
+ save_training_state: minimal
12
+ data:
13
+ num_dataloader_workers: 4
14
+ preprocessed_data_root: <local path>
15
+ flow_matching:
16
+ timestep_sampling_mode: shifted_logit_normal
17
+ timestep_sampling_params: {}
18
+ hub:
19
+ hub_model_id: null
20
+ push_to_hub: false
21
+ lora:
22
+ alpha: 32
23
+ dropout: 0.0
24
+ rank: 32
25
+ target_modules:
26
+ - attn1.to_k
27
+ - attn1.to_q
28
+ - attn1.to_v
29
+ - attn1.to_out.0
30
+ - attn2.to_k
31
+ - attn2.to_q
32
+ - attn2.to_v
33
+ - attn2.to_out.0
34
+ - ff.net.0.proj
35
+ - ff.net.2
36
+ model:
37
+ audio_vae_path: <LTX-2.5>/vae/ltx-2.5-audio-vae-bf16.safetensors
38
+ frozen_param_patterns: null
39
+ load_checkpoint: <local path>
40
+ model_path: <LTX-2.5>/diffusion_models/ltx-2.5-22b-dev-transformer-bf16.safetensors
41
+ text_encoder_path: <LTX-2.5>/text_encoders/gemma4-12b-with-proj-ltx-2.5-bf16.safetensors
42
+ training_mode: lora
43
+ video_vae_path: <LTX-2.5>/vae/ltx-2.5-video-vae-conv-bf16.safetensors
44
+ optimization:
45
+ batch_size: 1
46
+ enable_gradient_checkpointing: true
47
+ gradient_accumulation_steps: 1
48
+ learning_rate: 0.0002
49
+ max_grad_norm: 1.0
50
+ optimizer_type: adamw
51
+ scheduler_params: {}
52
+ scheduler_type: constant
53
+ steps: 10000
54
+ output_dir: <local path>
55
+ seed: 42
56
+ training_strategy:
57
+ audio: null
58
+ name: flexible
59
+ video:
60
+ causal_block_size: null
61
+ causal_clean_copy: false
62
+ causal_first_block_frames: null
63
+ causal_max_frames: null
64
+ causal_reference_mode: aligned
65
+ causal_resample: false
66
+ causal_resample_prob: 1.0
67
+ causal_resample_shift: 0.6
68
+ conditions:
69
+ - latents_dir: reference_latents
70
+ probability: 1.0
71
+ ref_index: null
72
+ slot_role: control
73
+ time_offset: 0.0
74
+ type: reference
75
+ - latents_dir: ref1_latents
76
+ probability: 0.9
77
+ ref_index: 0
78
+ slot_role: image
79
+ time_offset: -2.0
80
+ type: reference
81
+ - latents_dir: ref2_latents
82
+ probability: 0.9
83
+ ref_index: 1
84
+ slot_role: image
85
+ time_offset: -2.0
86
+ type: reference
87
+ - probability: 0.9
88
+ type: first_frame
89
+ is_generated: true
90
+ latents_dir: latents
91
+ slot_cover_thr: 0.02
92
+ slot_embedding: false
93
+ slot_gate: true
94
+ slot_gate_dilate: 0.25
95
+ slots_dir: slots
96
+ validation:
97
+ audio_cfg_scale: 7.0
98
+ audio_modality_guidance_scale: 3.0
99
+ audio_stg_scale: 1.0
100
+ causal_block_size: null
101
+ causal_first_block_frames: null
102
+ causal_reference_mode: aligned
103
+ frame_rate: 30.0
104
+ generate_audio: false
105
+ generate_video: true
106
+ guidance_rescale: 0.7
107
+ images: null
108
+ include_reference_in_output: false
109
+ inference_steps: 30
110
+ interval: 100000
111
+ negative_prompt: blurry, out of focus, washed out colors, excessive noise, flickering,
112
+ distorted proportions, deformed limbs, extra limbs, floating detached objects,
113
+ melting geometry, inconsistent perspective, camera shake, cartoonish rendering,
114
+ unrealistic materials, AI artifacts
115
+ prompts: []
116
+ reference_downscale_factor: 1
117
+ reference_videos: null
118
+ samples: []
119
+ seed: 42
120
+ skip_initial_validation: true
121
+ stg_blocks:
122
+ - 28
123
+ video_cfg_scale: 3.0
124
+ video_dims: !!python/tuple
125
+ - 1024
126
+ - 576
127
+ - 121
128
+ video_modality_guidance_scale: 1.0
129
+ video_stg_scale: 1.0
130
+ wandb:
131
+ enabled: false
132
+ entity: null
133
+ log_validation_videos: false
134
+ project: v2v-whitebox
135
+ tags:
136
+ - ltx2.5
137
+ - ic-lora
138
+ - mixref
139
+ - binding
140
+ - gate