Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lllyasviel committed Aug 30, 2024
1 parent d1d0ec4 commit ec7917b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/patcher/unet.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def __init__(self, *args, **kwargs):

def clone(self):
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.model_options = copy.deepcopy(self.model_options)
n.controlnet_linked_list = self.controlnet_linked_list
Expand Down

0 comments on commit ec7917b

Please sign in to comment.