Skip to content

Commit

Permalink
Remove unload
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Jan 1, 2025
1 parent ab409ee commit 66eeb4e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib_layerdiffusion/attention_sharing.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ def __init__(self, layer_list):
class AttentionSharingPatcher(torch.nn.Module):
def __init__(self, unet, frames=2, use_control=True, rank=256):
super().__init__()
model_management.unload_model_clones(unet)

units = []
for i in range(32):
Expand Down

0 comments on commit 66eeb4e

Please sign in to comment.