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