Unverified Commit 04812de2 authored by Yang Yong (雍洋)'s avatar Yang Yong (雍洋) Committed by GitHub
Browse files

Refactor Config System (#338)

parent 6a658f42
...@@ -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,
......
...@@ -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,
......
...@@ -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,
......
...@@ -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,
......
...@@ -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,
......
...@@ -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,
......
...@@ -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,
......
...@@ -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
]
} }
...@@ -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,
......
...@@ -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
]
} }
...@@ -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
]
} }
...@@ -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,
......
...@@ -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
} }
...@@ -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
} }
...@@ -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"
} }
...@@ -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"
} }
{ {
"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,
......
{ {
"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,
......
...@@ -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,
......
...@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment