mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-30 03:01:15 +00:00
fix
This commit is contained in:
@@ -25,6 +25,7 @@ class UnetPatcher(ModelPatcher):
|
|||||||
|
|
||||||
def clone(self):
|
def clone(self):
|
||||||
n = UnetPatcher(self.model, self.load_device, self.offload_device, self.size, self.current_device)
|
n = UnetPatcher(self.model, self.load_device, self.offload_device, self.size, self.current_device)
|
||||||
|
n.lora_patches = self.lora_patches.copy()
|
||||||
n.object_patches = self.object_patches.copy()
|
n.object_patches = self.object_patches.copy()
|
||||||
n.model_options = copy.deepcopy(self.model_options)
|
n.model_options = copy.deepcopy(self.model_options)
|
||||||
n.controlnet_linked_list = self.controlnet_linked_list
|
n.controlnet_linked_list = self.controlnet_linked_list
|
||||||
|
|||||||
Reference in New Issue
Block a user