Commit 8bc0da34 authored by gushiqiao's avatar gushiqiao Committed by GitHub
Browse files

reconstruct config and scripts (#81)


Co-authored-by: default avatargushiqiao <gushiqiao@sensetime.com>
parent ad051778
{ {
"infer_steps": 20, "infer_steps": 20,
"target_video_length": 33, "target_video_length": 33,
"i2v_resolution": "720p", "target_height": 720,
"target_width": 1280,
"attention_type": "flash_attn3", "attention_type": "flash_attn3",
"seed": 0 "seed": 0
} }
{
"infer_steps": 40,
"target_video_length": 81,
"target_height": 480,
"target_width": 832,
"attention_type": "flash_attn3",
"seed": 42,
"sample_guide_scale": 5,
"sample_shift": 5,
"enable_cfg": true,
"cpu_offload": true,
"offload_granularity": "block",
"mm_config": {
"mm_type": "W-int8-channel-sym-A-int8-channel-sym-dynamic-Q8F",
"weight_auto_quant": true
}
}
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"text_len": 512, "text_len": 512,
"target_height": 480, "target_height": 480,
"target_width": 832, "target_width": 832,
"attention_type": "sage_attn2", "attention_type": "flash_attn3",
"seed": 42, "seed": 42,
"sample_guide_scale": 6, "sample_guide_scale": 6,
"sample_shift": 8, "sample_shift": 8,
......
{ {
"infer_steps": 20, "infer_steps": 40,
"target_video_length": 81, "target_video_length": 81,
"target_height": 480, "target_height": 480,
"target_width": 832, "target_width": 832,
...@@ -11,19 +11,20 @@ ...@@ -11,19 +11,20 @@
"cpu_offload": true, "cpu_offload": true,
"offload_granularity": "phase", "offload_granularity": "phase",
"t5_offload_granularity": "block", "t5_offload_granularity": "block",
"dit_quantized_ckpt": "/wan_cfg_models/Wan2.1-I2V-480P-cfg-blocks-fp8/", "dit_quantized_ckpt": "/path/to/Wan2.1-I2V-480P-cfg-blocks-fp8/",
"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_quantized": true, "t5_quantized": true,
"t5_quantized_ckpt": "/wan_cfg_models/models_t5_umt5-xxl-enc-int8.pth", "t5_quantized_ckpt": "/path/to/models_t5_umt5-xxl-enc-int8.pth",
"t5_quant_scheme": "int8", "t5_quant_scheme": "int8",
"clip_quantized": true, "clip_quantized": true,
"clip_quantized_ckpt": "/wan_cfg_models/clip-int8.pth", "clip_quantized_ckpt": "/path/to/clip-int8.pth",
"clip_quant_scheme": "int8", "clip_quant_scheme": "int8",
"use_tiling_vae": true, "use_tiling_vae": true,
"tiny_vae": true, "tiny_vae": true,
"tiny_vae_path": "/mnt/afs_2/gushiqiao/x2v_models/taew2_1.pth", "tiny_vae_path": "/path/to/taew2_1.pth",
"lazy_load": true, "lazy_load": true,
"feature_caching": "Tea", "feature_caching": "Tea",
"coefficients": [ "coefficients": [
......
{
"infer_steps": 40,
"target_video_length": 81,
"target_height": 1280,
"target_width": 720,
"attention_type": "sage_attn2",
"seed": 42,
"sample_guide_scale": 5,
"sample_shift": 5,
"enable_cfg": false,
"cpu_offload": true,
"offload_granularity": "phase",
"t5_offload_granularity": "block",
"dit_quantized_ckpt": "/path/to/Wan2.1-I2V-480P-cfg-blocks-fp8/",
"mm_config": {
"mm_type": "W-fp8-channel-sym-A-fp8-channel-sym-dynamic-Vllm",
"weight_auto_quant": false
},
"t5_quantized": true,
"t5_quantized_ckpt": "/path/to/models_t5_umt5-xxl-enc-int8.pth",
"t5_quant_scheme": "int8",
"clip_quantized": true,
"clip_quantized_ckpt": "/path/to/clip-int8.pth",
"clip_quant_scheme": "int8",
"use_tiling_vae": true,
"tiny_vae": true,
"tiny_vae_path": "/path/to/taew2_1.pth",
"lazy_load": true,
"feature_caching": "Tea",
"coefficients": [
[8.10705460e03, 2.13393892e03, -3.72934672e02, 1.66203073e01, -4.17769401e-02],
[-114.36346466, 65.26524496, -18.82220707, 4.91518089, -0.23412683]
],
"use_ret_steps": true,
"teacache_thresh": 0.26
}
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