Views
No views yet
diffuserspattern_dict for compression:1pattern_dict_comfyui = {
2 r"double_blocks\.\d+": (
3 "img_mod.lin",
4 "img_attn.qkv",
5 "img_attn.proj",
6 "img_mlp.0",
7 "img_mlp.2",
8 "txt_mod.lin",
9 "txt_attn.qkv",
10 "txt_attn.proj",
11 "txt_mlp.0",
12 "txt_mlp.2",
13 ),
14
15 r"single_blocks\.\d+": (
16 "linear1",
17 "linear2",
18 "modulation.lin",
19 ),
20}