Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xuwx1
LightX2V
Commits
e08c4f90
Commit
e08c4f90
authored
Jul 17, 2025
by
sandy
Committed by
GitHub
Jul 17, 2025
Browse files
Merge branch 'main' into audio_r2v
parents
12bfd120
6d07a72e
Changes
191
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
126 additions
and
53 deletions
+126
-53
configs/attentions/wan_i2v_sage.json
configs/attentions/wan_i2v_sage.json
+0
-0
configs/attentions/wan_t2v_sparge.json
configs/attentions/wan_t2v_sparge.json
+0
-0
configs/attns/readme.md
configs/attns/readme.md
+0
-1
configs/caching/adacache/wan_i2v_ada.json
configs/caching/adacache/wan_i2v_ada.json
+15
-0
configs/caching/teacache/wan_t2v_1_3b_tea_480p.json
configs/caching/teacache/wan_t2v_1_3b_tea_480p.json
+0
-0
configs/changing_resolution/wan_t2v.json
configs/changing_resolution/wan_t2v.json
+18
-0
configs/dist_infer/wan_i2v_dist_ring.json
configs/dist_infer/wan_i2v_dist_ring.json
+16
-0
configs/dist_infer/wan_i2v_dist_ulysses.json
configs/dist_infer/wan_i2v_dist_ulysses.json
+0
-0
configs/dist_infer/wan_t2v_dist_ring.json
configs/dist_infer/wan_t2v_dist_ring.json
+17
-0
configs/dist_infer/wan_t2v_dist_ulysses.json
configs/dist_infer/wan_t2v_dist_ulysses.json
+0
-0
configs/distill/wan_i2v_distill_4step_cfg.json
configs/distill/wan_i2v_distill_4step_cfg.json
+1
-1
configs/distill/wan_i2v_distill_4step_cfg_lora.json
configs/distill/wan_i2v_distill_4step_cfg_lora.json
+19
-16
configs/distill/wan_t2v_distill_4step_cfg.json
configs/distill/wan_t2v_distill_4step_cfg.json
+2
-2
configs/distill/wan_t2v_distill_4step_cfg_dynamic.json
configs/distill/wan_t2v_distill_4step_cfg_dynamic.json
+2
-2
configs/distill/wan_t2v_distill_4step_cfg_lora.json
configs/distill/wan_t2v_distill_4step_cfg_lora.json
+20
-17
configs/offload/block/wan_i2v_block.json
configs/offload/block/wan_i2v_block.json
+2
-2
configs/offload/block/wan_t2v_1_3b.json
configs/offload/block/wan_t2v_1_3b.json
+8
-6
configs/offload/block/wan_t2v_block.json
configs/offload/block/wan_t2v_block.json
+2
-2
configs/offload/disk/wan_i2v_phase_lazy_load_480p.json
configs/offload/disk/wan_i2v_phase_lazy_load_480p.json
+2
-2
configs/offload/disk/wan_i2v_phase_lazy_load_720p.json
configs/offload/disk/wan_i2v_phase_lazy_load_720p.json
+2
-2
No files found.
configs/attns/wan_i2v_sage.json
→
configs/att
entio
ns/wan_i2v_sage.json
View file @
e08c4f90
File moved
configs/attns/wan_t2v_sparge.json
→
configs/att
entio
ns/wan_t2v_sparge.json
View file @
e08c4f90
File moved
configs/attns/readme.md
deleted
100644 → 0
View file @
12bfd120
### TODO
configs/caching/adacache/wan_i2v_ada.json
0 → 100755
View file @
e08c4f90
{
"infer_steps"
:
40
,
"target_video_length"
:
81
,
"target_height"
:
480
,
"target_width"
:
832
,
"self_attn_1_type"
:
"flash_attn3"
,
"cross_attn_1_type"
:
"flash_attn3"
,
"cross_attn_2_type"
:
"flash_attn3"
,
"seed"
:
442
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
3
,
"enable_cfg"
:
true
,
"cpu_offload"
:
false
,
"feature_caching"
:
"Ada"
}
configs/caching/teacache/wan_t2v_1_3b.json
→
configs/caching/teacache/wan_t2v_1_3b
_tea_480p
.json
View file @
e08c4f90
File moved
configs/c
aching/teacache
/wan_t2v
_14b
.json
→
configs/c
hanging_resolution
/wan_t2v.json
View file @
e08c4f90
...
@@ -12,15 +12,7 @@
...
@@ -12,15 +12,7 @@
"sample_shift"
:
8
,
"sample_shift"
:
8
,
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
"cpu_offload"
:
false
,
"cpu_offload"
:
false
,
"mm_config"
:
{
"changing_resolution"
:
true
,
"mm_type"
:
"W-fp8-channel-sym-A-fp8-channel-sym-dynamic-Sgl"
,
"resolution_rate"
:
0.75
,
"weight_auto_quant"
:
true
"changing_resolution_steps"
:
25
},
"feature_caching"
:
"Tea"
,
"coefficients"
:
[
[
-3.03318725e05
,
4.90537029e04
,
-2.65530556e03
,
5.87365115e01
,
-3.15583525e-01
],
[
-5784.54975374
,
5449.50911966
,
-1811.16591783
,
256.27178429
,
-13.02252404
]
],
"use_ret_steps"
:
true
,
"teacache_thresh"
:
0.26
}
}
configs/dist_infer/wan_i2v_dist_ring.json
0 → 100644
View file @
e08c4f90
{
"infer_steps"
:
40
,
"target_video_length"
:
81
,
"target_height"
:
480
,
"target_width"
:
832
,
"self_attn_1_type"
:
"flash_attn3"
,
"cross_attn_1_type"
:
"flash_attn3"
,
"cross_attn_2_type"
:
"flash_attn3"
,
"seed"
:
42
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
true
,
"cpu_offload"
:
false
,
"parallel_attn_type"
:
"ring"
,
"parallel_vae"
:
true
}
configs/
wan
/wan_i2v_dist.json
→
configs/
dist_infer
/wan_i2v_dist
_ulysses
.json
100755 → 100644
View file @
e08c4f90
File moved
configs/dist_infer/wan_t2v_dist_ring.json
0 → 100644
View file @
e08c4f90
{
"infer_steps"
:
50
,
"target_video_length"
:
81
,
"text_len"
:
512
,
"target_height"
:
480
,
"target_width"
:
832
,
"self_attn_1_type"
:
"flash_attn3"
,
"cross_attn_1_type"
:
"flash_attn3"
,
"cross_attn_2_type"
:
"flash_attn3"
,
"seed"
:
42
,
"sample_guide_scale"
:
6
,
"sample_shift"
:
8
,
"enable_cfg"
:
true
,
"cpu_offload"
:
false
,
"parallel_attn_type"
:
"ring"
,
"parallel_vae"
:
true
}
configs/
wan
/wan_t2v_dist.json
→
configs/
dist_infer
/wan_t2v_dist
_ulysses
.json
100755 → 100644
View file @
e08c4f90
File moved
configs/distill/wan_i2v_distill_4step_cfg.json
View file @
e08c4f90
...
@@ -11,5 +11,5 @@
...
@@ -11,5 +11,5 @@
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
"cpu_offload"
:
false
,
"cpu_offload"
:
false
,
"denoising_step_list"
:
[
999
,
750
,
500
,
250
]
"denoising_step_list"
:
[
1000
,
750
,
500
,
250
]
}
}
configs/distill/wan_i2v_distill_4step_cfg_lora.json
View file @
e08c4f90
...
@@ -11,8 +11,11 @@
...
@@ -11,8 +11,11 @@
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
"cpu_offload"
:
false
,
"cpu_offload"
:
false
,
"denoising_step_list"
:
[
999
,
750
,
500
,
250
],
"denoising_step_list"
:
[
1000
,
750
,
500
,
250
],
"lora_path"
:
[
"lora_configs"
:
[
"Wan2.1-I2V-14B-480P/loras/Wan21_I2V_14B_lightx2v_cfg_step_distill_lora_rank64.safetensors"
{
"path"
:
"Wan2.1-I2V-14B-480P/loras/Wan21_I2V_14B_lightx2v_cfg_step_distill_lora_rank64.safetensors"
,
"strength"
:
1.0
}
]
]
}
}
configs/distill/wan_t2v_distill_4step_cfg.json
View file @
e08c4f90
...
@@ -9,8 +9,8 @@
...
@@ -9,8 +9,8 @@
"cross_attn_2_type"
:
"flash_attn3"
,
"cross_attn_2_type"
:
"flash_attn3"
,
"seed"
:
42
,
"seed"
:
42
,
"sample_guide_scale"
:
6
,
"sample_guide_scale"
:
6
,
"sample_shift"
:
8
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
"cpu_offload"
:
false
,
"cpu_offload"
:
false
,
"denoising_step_list"
:
[
999
,
750
,
500
,
250
]
"denoising_step_list"
:
[
1000
,
750
,
500
,
250
]
}
}
configs/distill/wan_t2v_distill_4step_cfg_dynamic.json
View file @
e08c4f90
...
@@ -9,10 +9,10 @@
...
@@ -9,10 +9,10 @@
"cross_attn_2_type"
:
"flash_attn3"
,
"cross_attn_2_type"
:
"flash_attn3"
,
"seed"
:
42
,
"seed"
:
42
,
"sample_guide_scale"
:
6
,
"sample_guide_scale"
:
6
,
"sample_shift"
:
8
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
"enable_dynamic_cfg"
:
true
,
"enable_dynamic_cfg"
:
true
,
"cfg_scale"
:
4.0
,
"cfg_scale"
:
4.0
,
"cpu_offload"
:
false
,
"cpu_offload"
:
false
,
"denoising_step_list"
:
[
999
,
750
,
500
,
250
]
"denoising_step_list"
:
[
1000
,
750
,
500
,
250
]
}
}
configs/distill/wan_t2v_distill_4step_cfg_lora.json
View file @
e08c4f90
...
@@ -9,11 +9,14 @@
...
@@ -9,11 +9,14 @@
"cross_attn_2_type"
:
"flash_attn3"
,
"cross_attn_2_type"
:
"flash_attn3"
,
"seed"
:
42
,
"seed"
:
42
,
"sample_guide_scale"
:
6
,
"sample_guide_scale"
:
6
,
"sample_shift"
:
8
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
"cpu_offload"
:
false
,
"cpu_offload"
:
false
,
"denoising_step_list"
:
[
999
,
750
,
500
,
250
],
"denoising_step_list"
:
[
1000
,
750
,
500
,
250
],
"lora_path"
:
[
"lora_configs"
:
[
"Wan2.1-T2V-14B/loras/Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors"
{
"path"
:
"Wan2.1-T2V-14B/loras/Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank64.safetensors"
,
"strength"
:
1.0
}
]
]
}
}
configs/offload/block/wan_i2v_block.json
View file @
e08c4f90
...
@@ -11,9 +11,9 @@
...
@@ -11,9 +11,9 @@
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
"cpu_offload"
:
true
,
"cpu_offload"
:
true
,
"t5_cpu_offload"
:
true
,
"offload_granularity"
:
"block"
,
"offload_granularity"
:
"block"
,
"mm_config"
:
{
"mm_config"
:
{
"mm_type"
:
"W-int8-channel-sym-A-int8-channel-sym-dynamic-Vllm"
,
"mm_type"
:
"W-int8-channel-sym-A-int8-channel-sym-dynamic-Vllm"
"weight_auto_quant"
:
true
}
}
}
}
configs/
quantization
/wan_
i
2v_
quant_auto
.json
→
configs/
offload/block
/wan_
t
2v_
1_3b
.json
View file @
e08c4f90
{
{
"infer_steps"
:
4
0
,
"infer_steps"
:
4
,
"target_video_length"
:
81
,
"target_video_length"
:
81
,
"target_height"
:
480
,
"target_height"
:
480
,
"target_width"
:
832
,
"target_width"
:
832
,
...
@@ -10,9 +10,11 @@
...
@@ -10,9 +10,11 @@
"sample_guide_scale"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
"cpu_offload"
:
false
,
"t5_cpu_offload"
:
true
,
"mm_config"
:
{
"t5_offload_granularity"
:
"block"
,
"mm_type"
:
"W-int8-channel-sym-A-int8-channel-sym-dynamic-Vllm"
,
"t5_quantized"
:
true
,
"weight_auto_quant"
:
true
"t5_quantized_ckpt"
:
"/path/to/models_t5_umt5-xxl-enc-fp8.pth"
,
}
"t5_quant_scheme"
:
"fp8"
,
"unload_modules"
:
true
,
"use_tiling_vae"
:
true
}
}
configs/offload/block/wan_t2v_block.json
View file @
e08c4f90
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
"cpu_offload"
:
true
,
"cpu_offload"
:
true
,
"offload_granularity"
:
"block"
,
"offload_granularity"
:
"block"
,
"t5_cpu_offload"
:
true
,
"mm_config"
:
{
"mm_config"
:
{
"mm_type"
:
"W-int8-channel-sym-A-int8-channel-sym-dynamic-Vllm"
,
"mm_type"
:
"W-int8-channel-sym-A-int8-channel-sym-dynamic-Vllm"
"weight_auto_quant"
:
true
}
}
}
}
configs/offload/disk/wan_i2v_phase_lazy_load_480p.json
View file @
e08c4f90
...
@@ -15,9 +15,9 @@
...
@@ -15,9 +15,9 @@
"t5_offload_granularity"
:
"block"
,
"t5_offload_granularity"
:
"block"
,
"dit_quantized_ckpt"
:
"/path/to/dit_quant_model"
,
"dit_quantized_ckpt"
:
"/path/to/dit_quant_model"
,
"mm_config"
:
{
"mm_config"
:
{
"mm_type"
:
"W-fp8-channel-sym-A-fp8-channel-sym-dynamic-Vllm"
,
"mm_type"
:
"W-fp8-channel-sym-A-fp8-channel-sym-dynamic-Vllm"
"weight_auto_quant"
:
false
},
},
"t5_cpu_offload"
:
true
,
"t5_quantized"
:
true
,
"t5_quantized"
:
true
,
"t5_quantized_ckpt"
:
"/path/to/models_t5_umt5-xxl-enc-fp8.pth"
,
"t5_quantized_ckpt"
:
"/path/to/models_t5_umt5-xxl-enc-fp8.pth"
,
"t5_quant_scheme"
:
"fp8"
,
"t5_quant_scheme"
:
"fp8"
,
...
...
configs/offload/disk/wan_i2v_phase_lazy_load_720p.json
View file @
e08c4f90
...
@@ -15,9 +15,9 @@
...
@@ -15,9 +15,9 @@
"t5_offload_granularity"
:
"block"
,
"t5_offload_granularity"
:
"block"
,
"dit_quantized_ckpt"
:
"/path/to/dit_quant_model"
,
"dit_quantized_ckpt"
:
"/path/to/dit_quant_model"
,
"mm_config"
:
{
"mm_config"
:
{
"mm_type"
:
"W-fp8-channel-sym-A-fp8-channel-sym-dynamic-Vllm"
,
"mm_type"
:
"W-fp8-channel-sym-A-fp8-channel-sym-dynamic-Vllm"
"weight_auto_quant"
:
false
},
},
"t5_cpu_offload"
:
true
,
"t5_quantized"
:
true
,
"t5_quantized"
:
true
,
"t5_quantized_ckpt"
:
"/path/to/models_t5_umt5-xxl-enc-fp8.pth"
,
"t5_quantized_ckpt"
:
"/path/to/models_t5_umt5-xxl-enc-fp8.pth"
,
"t5_quant_scheme"
:
"fp8"
,
"t5_quant_scheme"
:
"fp8"
,
...
...
Prev
1
2
3
4
5
6
…
10
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment