mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-21 06:48:56 +00:00
GroupNorm patcher (#593)
* add gn wrapper and corresponding patcher * add gn wrapper and corresponding patcher
This commit is contained in:
committed by
GitHub
parent
0eea1acc6e
commit
5192e912ab
@@ -159,6 +159,10 @@ class UnetPatcher(ModelPatcher):
|
||||
self.append_transformer_option('controlnet_conditioning_modifiers', modifier, ensure_uniqueness)
|
||||
return
|
||||
|
||||
def set_groupnorm_wrapper(self, wrapper):
|
||||
self.set_transformer_option('groupnorm_wrapper', wrapper)
|
||||
return
|
||||
|
||||
def set_controlnet_model_function_wrapper(self, wrapper):
|
||||
self.set_transformer_option('controlnet_model_function_wrapper', wrapper)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user