22 seed : &seed 42
33model :
44 type : Wan2T2V
5- path : /mnt/lm_data_afs/wangzining/charles/lab/llmc/model/Wan2.2-T2V-A14B
6- # 若未 `pip install -e /path/to/Wan2.2`,可显式指定官方仓库代码路径:
7- # wan2_repo_path: /path/to/Wan2.2
8- # 默认严格走官方 Wan2.2 原生后端;官方代码不可用时会直接报错,不再静默回退到 Diffusers。
9- # 若确实需要回退可开启:
10- # allow_diffusers_fallback: True
5+ path : /path/to/wan_t2v
116 torch_dtype : auto
12- # 显存不足时开启:校准阶段捕获的激活存到 CPU,量化时再按 block 搬到 GPU
137 use_cpu_to_save_cuda_mem_for_catcher : True
148calib :
159 name : t2v
1610 download : False
1711 path : ./assets/wan_t2v/calib/
18- sample_steps : 20 # OOM 时可减小,如 8 或 10
12+ sample_steps : 20
1913 bs : 1
20- target_height : 480 # OOM 时可减小,如 320
21- target_width : 832 # OOM 时可减小,如 576
22- num_frames : 81 # OOM 时可减小,如 49 或 33
23- # 对齐官方 Wan2.2 默认 sample_guide_scale=(3.0, 4.0) (low_noise, high_noise)
24- guidance_scale : 4.0 # high_noise
25- guidance_scale_2 : 3.0 # low_noise
14+ target_height : 480
15+ target_width : 832
16+ num_frames : 81
17+ guidance_scale : 4.0
18+ guidance_scale_2 : 3.0
2619 seed : *seed
2720eval :
28- eval_pos : [transformed, fake_quant ]
21+ eval_pos : []
2922 type : video_gen
3023 name : t2v
3124 download : False
@@ -34,23 +27,20 @@ eval:
3427 target_height : 480
3528 target_width : 832
3629 num_frames : 81
37- # 对齐官方 Wan2.2 默认 sample_guide_scale=(3.0, 4.0) (low_noise, high_noise)
38- guidance_scale : 4.0 # high_noise
39- guidance_scale_2 : 3.0 # low_noise
30+ guidance_scale : 4.0
31+ guidance_scale_2 : 3.0
4032 output_video_path : ./output_videos_awq/
4133quant :
4234 video_gen :
4335 method : Awq
4436 weight :
45- # quant_type: int-quant
46- quant_type : hif4
37+ quant_type : int-quant
4738 bit : 4
4839 symmetric : True
4940 granularity : per_channel
5041 group_size : -1
5142 act :
52- # quant_type: int-quant
53- quant_type : hif4
43+ quant_type : int-quant
5444 bit : 4
5545 symmetric : True
5646 granularity : per_token
6050 weight_clip : True
6151 clip_sym : True
6252save :
63- # save_lightx2v: True
64- # save_path: ./save_for_lightx2v/wan2_2_t2v/awq_w_a/original/
65- save_fake : True
66- save_path : ./save_for_fake/wan2_2_t2v/awq_w_a/original/
53+ save_lightx2v : True
54+ save_path : /path/to/x2v/
0 commit comments