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
"src/routes/vscode:/vscode.git/clone" did not exist on "a2a433b08cdaf97b2f4df284984f7e8f428c0d49"
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
42 additions
and
32 deletions
+42
-32
configs/dist_infer/wan_i2v_dist_ring.json
configs/dist_infer/wan_i2v_dist_ring.json
+0
-1
configs/dist_infer/wan_i2v_dist_ulysses.json
configs/dist_infer/wan_i2v_dist_ulysses.json
+0
-1
configs/dist_infer/wan_t2v_dist_cfg.json
configs/dist_infer/wan_t2v_dist_cfg.json
+0
-1
configs/dist_infer/wan_t2v_dist_cfg_ring.json
configs/dist_infer/wan_t2v_dist_cfg_ring.json
+0
-1
configs/dist_infer/wan_t2v_dist_cfg_ulysses.json
configs/dist_infer/wan_t2v_dist_cfg_ulysses.json
+0
-1
configs/dist_infer/wan_t2v_dist_ring.json
configs/dist_infer/wan_t2v_dist_ring.json
+0
-1
configs/dist_infer/wan_t2v_dist_ulysses.json
configs/dist_infer/wan_t2v_dist_ulysses.json
+0
-1
configs/distill/wan_i2v_distill_4step_cfg.json
configs/distill/wan_i2v_distill_4step_cfg.json
+6
-2
configs/distill/wan_i2v_distill_4step_cfg_lora.json
configs/distill/wan_i2v_distill_4step_cfg_lora.json
+0
-1
configs/distill/wan_t2v_distill_4step_cfg.json
configs/distill/wan_t2v_distill_4step_cfg.json
+6
-2
configs/distill/wan_t2v_distill_4step_cfg_dynamic.json
configs/distill/wan_t2v_distill_4step_cfg_dynamic.json
+6
-2
configs/distill/wan_t2v_distill_4step_cfg_lora.json
configs/distill/wan_t2v_distill_4step_cfg_lora.json
+0
-1
configs/hunyuan/hunyuan_i2v.json
configs/hunyuan/hunyuan_i2v.json
+1
-2
configs/hunyuan/hunyuan_t2v.json
configs/hunyuan/hunyuan_t2v.json
+1
-2
configs/hunyuan/hunyuan_t2v_dist_ring.json
configs/hunyuan/hunyuan_t2v_dist_ring.json
+0
-1
configs/hunyuan/hunyuan_t2v_dist_ulysses.json
configs/hunyuan/hunyuan_t2v_dist_ulysses.json
+0
-1
configs/offload/block/qwen_image_i2i_block.json
configs/offload/block/qwen_image_i2i_block.json
+1
-2
configs/offload/block/qwen_image_t2i_block.json
configs/offload/block/qwen_image_t2i_block.json
+21
-7
configs/offload/block/wan_i2v_audio_block.json
configs/offload/block/wan_i2v_audio_block.json
+0
-1
configs/offload/block/wan_i2v_block.json
configs/offload/block/wan_i2v_block.json
+0
-1
No files found.
configs/dist_infer/wan_i2v_dist_ring.json
View file @
04812de2
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,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"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
...
...
configs/dist_infer/wan_i2v_dist_ulysses.json
View file @
04812de2
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,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"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
...
...
configs/dist_infer/wan_t2v_dist_cfg.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/dist_infer/wan_t2v_dist_cfg_ring.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/dist_infer/wan_t2v_dist_cfg_ulysses.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/dist_infer/wan_t2v_dist_ring.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/dist_infer/wan_t2v_dist_ulysses.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/distill/wan_i2v_distill_4step_cfg.json
View file @
04812de2
...
@@ -6,10 +6,14 @@
...
@@ -6,10 +6,14 @@
"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"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
"cpu_offload"
:
false
,
"cpu_offload"
:
false
,
"denoising_step_list"
:
[
1000
,
750
,
500
,
250
]
"denoising_step_list"
:
[
1000
,
750
,
500
,
250
]
}
}
configs/distill/wan_i2v_distill_4step_cfg_lora.json
View file @
04812de2
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,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"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/distill/wan_t2v_distill_4step_cfg.json
View file @
04812de2
...
@@ -7,10 +7,14 @@
...
@@ -7,10 +7,14 @@
"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"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
"cpu_offload"
:
false
,
"cpu_offload"
:
false
,
"denoising_step_list"
:
[
1000
,
750
,
500
,
250
]
"denoising_step_list"
:
[
1000
,
750
,
500
,
250
]
}
}
configs/distill/wan_t2v_distill_4step_cfg_dynamic.json
View file @
04812de2
...
@@ -7,12 +7,16 @@
...
@@ -7,12 +7,16 @@
"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"
:
5
,
"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"
:
[
1000
,
750
,
500
,
250
]
"denoising_step_list"
:
[
1000
,
750
,
500
,
250
]
}
}
configs/distill/wan_t2v_distill_4step_cfg_lora.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"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/hunyuan/hunyuan_i2v.json
View file @
04812de2
...
@@ -3,6 +3,5 @@
...
@@ -3,6 +3,5 @@
"target_video_length"
:
33
,
"target_video_length"
:
33
,
"target_height"
:
720
,
"target_height"
:
720
,
"target_width"
:
1280
,
"target_width"
:
1280
,
"attention_type"
:
"flash_attn3"
,
"attention_type"
:
"flash_attn3"
"seed"
:
0
}
}
configs/hunyuan/hunyuan_t2v.json
View file @
04812de2
...
@@ -3,6 +3,5 @@
...
@@ -3,6 +3,5 @@
"target_video_length"
:
33
,
"target_video_length"
:
33
,
"target_height"
:
720
,
"target_height"
:
720
,
"target_width"
:
1280
,
"target_width"
:
1280
,
"attention_type"
:
"flash_attn3"
,
"attention_type"
:
"flash_attn3"
"seed"
:
42
}
}
configs/hunyuan/hunyuan_t2v_dist_ring.json
View file @
04812de2
...
@@ -4,6 +4,5 @@
...
@@ -4,6 +4,5 @@
"target_height"
:
720
,
"target_height"
:
720
,
"target_width"
:
1280
,
"target_width"
:
1280
,
"attention_type"
:
"flash_attn3"
,
"attention_type"
:
"flash_attn3"
,
"seed"
:
42
,
"parallel_attn_type"
:
"ring"
"parallel_attn_type"
:
"ring"
}
}
configs/hunyuan/hunyuan_t2v_dist_ulysses.json
View file @
04812de2
...
@@ -4,6 +4,5 @@
...
@@ -4,6 +4,5 @@
"target_height"
:
720
,
"target_height"
:
720
,
"target_width"
:
1280
,
"target_width"
:
1280
,
"attention_type"
:
"flash_attn3"
,
"attention_type"
:
"flash_attn3"
,
"seed"
:
42
,
"parallel_attn_type"
:
"ulysses"
"parallel_attn_type"
:
"ulysses"
}
}
configs/offload/block/qwen_image_i2i_block.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
,
...
@@ -24,7 +23,7 @@
...
@@ -24,7 +23,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/offload/block/qwen_image_t2i_block.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/offload/block/wan_i2v_audio_block.json
View file @
04812de2
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,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"
:
1
,
"sample_guide_scale"
:
1
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
false
,
"enable_cfg"
:
false
,
...
...
configs/offload/block/wan_i2v_block.json
View file @
04812de2
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,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"
:
5
,
"sample_guide_scale"
:
5
,
"sample_shift"
:
5
,
"sample_shift"
:
5
,
"enable_cfg"
:
true
,
"enable_cfg"
:
true
,
...
...
Prev
1
2
3
4
5
6
7
8
…
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