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
04812de2
Unverified
Commit
04812de2
authored
Sep 29, 2025
by
Yang Yong (雍洋)
Committed by
GitHub
Sep 29, 2025
Browse files
Refactor Config System (#338)
parent
6a658f42
Changes
291
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
22 additions
and
31 deletions
+22
-31
configs/offload/block/wan_t2v_1_3b.json
configs/offload/block/wan_t2v_1_3b.json
+0
-1
configs/offload/block/wan_t2v_block.json
configs/offload/block/wan_t2v_block.json
+0
-1
configs/offload/disk/wan_i2v_phase_lazy_load_480p.json
configs/offload/disk/wan_i2v_phase_lazy_load_480p.json
+0
-1
configs/offload/disk/wan_i2v_phase_lazy_load_720p.json
configs/offload/disk/wan_i2v_phase_lazy_load_720p.json
+0
-1
configs/offload/phase/wan_i2v_phase.json
configs/offload/phase/wan_i2v_phase.json
+0
-5
configs/offload/phase/wan_t2v_phase.json
configs/offload/phase/wan_t2v_phase.json
+0
-1
configs/quantization/hunyuan_i2v.json
configs/quantization/hunyuan_i2v.json
+0
-1
configs/quantization/wan_i2v.json
configs/quantization/wan_i2v.json
+0
-1
configs/quantization/wan_i2v_q8f.json
configs/quantization/wan_i2v_q8f.json
+0
-1
configs/quantization/wan_i2v_torchao.json
configs/quantization/wan_i2v_torchao.json
+0
-1
configs/qwen_image/qwen_image_i2i.json
configs/qwen_image/qwen_image_i2i.json
+1
-2
configs/qwen_image/qwen_image_t2i.json
configs/qwen_image/qwen_image_t2i.json
+21
-7
configs/seko_talk/L40s/1gpu/seko_talk_bf16.json
configs/seko_talk/L40s/1gpu/seko_talk_bf16.json
+0
-1
configs/seko_talk/L40s/1gpu/seko_talk_fp8.json
configs/seko_talk/L40s/1gpu/seko_talk_fp8.json
+0
-1
configs/seko_talk/L40s/2gpu/seko_talk_bf16.json
configs/seko_talk/L40s/2gpu/seko_talk_bf16.json
+0
-1
configs/seko_talk/L40s/2gpu/seko_talk_fp8.json
configs/seko_talk/L40s/2gpu/seko_talk_fp8.json
+0
-1
configs/seko_talk/L40s/4gpu/seko_talk_bf16.json
configs/seko_talk/L40s/4gpu/seko_talk_bf16.json
+0
-1
configs/seko_talk/L40s/4gpu/seko_talk_fp8.json
configs/seko_talk/L40s/4gpu/seko_talk_fp8.json
+0
-1
configs/seko_talk/L40s/8gpu/seko_talk_bf16.json
configs/seko_talk/L40s/8gpu/seko_talk_bf16.json
+0
-1
configs/seko_talk/L40s/8gpu/seko_talk_fp8.json
configs/seko_talk/L40s/8gpu/seko_talk_fp8.json
+0
-1
No files found.
configs/offload/block/wan_t2v_1_3b.json
View file @
04812de2
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
...
...
configs/offload/block/wan_t2v_block.json
View file @
04812de2
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
"self_attn_1_type"
:
"flash_attn3"
,
"self_attn_1_type"
:
"flash_attn3"
,
"cross_attn_1_type"
:
"flash_attn3"
,
"cross_attn_1_type"
:
"flash_attn3"
,
"cross_attn_2_type"
:
"flash_attn3"
,
"cross_attn_2_type"
:
"flash_attn3"
,
"seed"
:
42
,
"sample_guide_scale"
:
6
,
"sample_guide_scale"
:
6
,
"sample_shift"
:
8
,
"sample_shift"
:
8
,
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
...
...
configs/offload/disk/wan_i2v_phase_lazy_load_480p.json
View file @
04812de2
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
...
...
configs/offload/disk/wan_i2v_phase_lazy_load_720p.json
View file @
04812de2
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/offload/phase/wan_i2v_phase.json
View file @
04812de2
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
...
@@ -14,9 +13,5 @@
...
@@ -14,9 +13,5 @@
"offload_granularity"
:
"phase"
,
"offload_granularity"
:
"phase"
,
"t5_cpu_offload"
:
true
,
"t5_cpu_offload"
:
true
,
"t5_offload_granularity"
:
"block"
,
"t5_offload_granularity"
:
"block"
,
"dit_quantized_ckpt"
:
"/path/to/dit_int8"
,
"mm_config"
:
{
"mm_type"
:
"W-int8-channel-sym-A-int8-channel-sym-dynamic-Q8F"
},
"use_tiling_vae"
:
true
"use_tiling_vae"
:
true
}
}
configs/offload/phase/wan_t2v_phase.json
View file @
04812de2
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
6
,
"sample_guide_scale"
:
6
,
"sample_shift"
:
8
,
"sample_shift"
:
8
,
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
...
...
configs/quantization/hunyuan_i2v.json
View file @
04812de2
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
"target_video_length"
:
33
,
"target_video_length"
:
33
,
"i2v_resolution"
:
"720p"
,
"i2v_resolution"
:
"720p"
,
"attention_type"
:
"flash_attn3"
,
"attention_type"
:
"flash_attn3"
,
"seed"
:
0
,
"dit_quantized_ckpt"
:
"/path/to/int8/model"
,
"dit_quantized_ckpt"
:
"/path/to/int8/model"
,
"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"
...
...
configs/quantization/wan_i2v.json
View file @
04812de2
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
...
...
configs/quantization/wan_i2v_q8f.json
View file @
04812de2
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/quantization/wan_i2v_torchao.json
View file @
04812de2
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/qwen_image/qwen_image_i2i.json
View file @
04812de2
{
{
"seed"
:
42
,
"batchsize"
:
1
,
"batchsize"
:
1
,
"num_channels_latents"
:
16
,
"num_channels_latents"
:
16
,
"vae_scale_factor"
:
8
,
"vae_scale_factor"
:
8
,
...
@@ -23,7 +22,7 @@
...
@@ -23,7 +22,7 @@
-0.9497
,
-0.9497
,
0.2503
,
0.2503
,
-0.2921
-0.2921
],
],
"vae_latents_std"
:
[
"vae_latents_std"
:
[
2.8184
,
2.8184
,
1.4541
,
1.4541
,
...
...
configs/qwen_image/qwen_image_t2i.json
View file @
04812de2
{
{
"seed"
:
42
,
"batchsize"
:
1
,
"batchsize"
:
1
,
"_comment"
:
"格式: '宽高比': [width, height]"
,
"_comment"
:
"格式: '宽高比': [width, height]"
,
"aspect_ratios"
:
{
"aspect_ratios"
:
{
"1:1"
:
[
1328
,
1328
],
"1:1"
:
[
"16:9"
:
[
1664
,
928
],
1328
,
"9:16"
:
[
928
,
1664
],
1328
"4:3"
:
[
1472
,
1140
],
],
"3:4"
:
[
142
,
184
]
"16:9"
:
[
1664
,
928
],
"9:16"
:
[
928
,
1664
],
"4:3"
:
[
1472
,
1140
],
"3:4"
:
[
142
,
184
]
},
},
"aspect_ratio"
:
"16:9"
,
"aspect_ratio"
:
"16:9"
,
"num_channels_latents"
:
16
,
"num_channels_latents"
:
16
,
...
@@ -32,7 +46,7 @@
...
@@ -32,7 +46,7 @@
-0.9497
,
-0.9497
,
0.2503
,
0.2503
,
-0.2921
-0.2921
],
],
"vae_latents_std"
:
[
"vae_latents_std"
:
[
2.8184
,
2.8184
,
1.4541
,
1.4541
,
...
...
configs/seko_talk/L40s/1gpu/seko_talk_bf16.json
View file @
04812de2
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
1.0
,
"sample_guide_scale"
:
1.0
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/seko_talk/L40s/1gpu/seko_talk_fp8.json
View file @
04812de2
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
1.0
,
"sample_guide_scale"
:
1.0
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/seko_talk/L40s/2gpu/seko_talk_bf16.json
View file @
04812de2
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
1.0
,
"sample_guide_scale"
:
1.0
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/seko_talk/L40s/2gpu/seko_talk_fp8.json
View file @
04812de2
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
1.0
,
"sample_guide_scale"
:
1.0
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/seko_talk/L40s/4gpu/seko_talk_bf16.json
View file @
04812de2
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
1.0
,
"sample_guide_scale"
:
1.0
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/seko_talk/L40s/4gpu/seko_talk_fp8.json
View file @
04812de2
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
1.0
,
"sample_guide_scale"
:
1.0
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/seko_talk/L40s/8gpu/seko_talk_bf16.json
View file @
04812de2
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
1.0
,
"sample_guide_scale"
:
1.0
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/seko_talk/L40s/8gpu/seko_talk_fp8.json
View file @
04812de2
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
"self_attn_1_type"
:
"sage_attn2"
,
"self_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_1_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"cross_attn_2_type"
:
"sage_attn2"
,
"seed"
:
42
,
"sample_guide_scale"
:
1.0
,
"sample_guide_scale"
:
1.0
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
Prev
1
2
3
4
5
6
7
8
9
…
15
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