imaginAIry/imaginairy/weight_management/weight_info/stable-diffusion-1-5_unet_diffusers.patterns.json
Bryce f97f6a3b4b feature: use refiners library for generation
BREAKING CHANGE

  - stable diffusion 1.5 + inpainting working
  - self-attention guidance working. improves image generation quality
  - tile-mode working
  - inpainting self-attention guidance working

disable/broken features:
  - sd 1.4, 2.0, 2.1
  - most of the samplers
  - pix2pix edit
  - most of the controlnets
  - memory management
  - python 3.8 support

wip
2023-11-22 13:22:00 -08:00

43 lines
2.8 KiB
JSON

[
"(conv_in|conv_norm_out|conv_out)",
"(down_blocks|up_blocks).2.attentions.0.transformer_blocks.0.(attn1|attn2).to_out.0",
"(down_blocks|up_blocks).2.attentions.0.transformer_blocks.0.ff.net.2",
"(down_blocks|up_blocks).2.attentions.1.transformer_blocks.0.(attn1|attn2).to_out.0",
"(down_blocks|up_blocks).2.attentions.1.transformer_blocks.0.ff.net.2",
"down_blocks.(0|1).attentions.0.transformer_blocks.0.(attn1|attn2).to_out.0",
"down_blocks.(0|1).attentions.0.transformer_blocks.0.ff.net.2",
"down_blocks.(0|1).attentions.1.transformer_blocks.0.(attn1|attn2).to_out.0",
"down_blocks.(0|1).attentions.1.transformer_blocks.0.ff.net.2",
"down_blocks.(0|1|2).attentions.(0|1).(norm|proj_in|proj_out)",
"down_blocks.(0|1|2).attentions.(0|1).transformer_blocks.0.(attn1|attn2).(to_k|to_q|to_v)",
"down_blocks.(0|1|2).attentions.(0|1).transformer_blocks.0.(norm1|norm2|norm3)",
"down_blocks.(0|1|2).attentions.(0|1).transformer_blocks.0.ff.net.0.proj",
"down_blocks.(0|1|2).downsamplers.0.conv",
"down_blocks.(0|3).resnets.(0|1).(conv1|conv2|norm1|norm2|time_emb_proj)",
"down_blocks.(1|2).resnets.0.(conv1|conv2|conv_shortcut|norm1|norm2|time_emb_proj)",
"down_blocks.(1|2).resnets.1.(conv1|conv2|norm1|norm2|time_emb_proj)",
"mid_block.attentions.0.(norm|proj_in|proj_out)",
"mid_block.attentions.0.transformer_blocks.0.(attn1|attn2).(to_k|to_q|to_v)",
"mid_block.attentions.0.transformer_blocks.0.(attn1|attn2).to_out.0",
"mid_block.attentions.0.transformer_blocks.0.(norm1|norm2|norm3)",
"mid_block.attentions.0.transformer_blocks.0.ff.net.0.proj",
"mid_block.attentions.0.transformer_blocks.0.ff.net.2",
"mid_block.resnets.(0|1).(conv1|conv2|norm1|norm2|time_emb_proj)",
"time_embedding.(linear_1|linear_2)",
"up_blocks.(0|1|2).upsamplers.0.conv",
"up_blocks.(0|1|2|3).resnets.(0|1|2).(conv1|conv2|conv_shortcut|norm1|norm2|time_emb_proj)",
"up_blocks.(1|2|3).attentions.(0|1|2).(norm|proj_in|proj_out)",
"up_blocks.(1|2|3).attentions.(0|1|2).transformer_blocks.0.(attn1|attn2).(to_k|to_q|to_v)",
"up_blocks.(1|2|3).attentions.(0|1|2).transformer_blocks.0.(norm1|norm2|norm3)",
"up_blocks.(1|2|3).attentions.(0|1|2).transformer_blocks.0.ff.net.0.proj",
"up_blocks.(1|2|3).attentions.2.transformer_blocks.0.(attn1|attn2).to_out.0",
"up_blocks.(1|2|3).attentions.2.transformer_blocks.0.ff.net.2",
"up_blocks.1.attentions.0.transformer_blocks.0.(attn1|attn2).to_out.0",
"up_blocks.1.attentions.0.transformer_blocks.0.ff.net.2",
"up_blocks.1.attentions.1.transformer_blocks.0.(attn1|attn2).to_out.0",
"up_blocks.1.attentions.1.transformer_blocks.0.ff.net.2",
"up_blocks.3.attentions.0.transformer_blocks.0.(attn1|attn2).to_out.0",
"up_blocks.3.attentions.0.transformer_blocks.0.ff.net.2",
"up_blocks.3.attentions.1.transformer_blocks.0.(attn1|attn2).to_out.0",
"up_blocks.3.attentions.1.transformer_blocks.0.ff.net.2"
]