mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-18 12:20:11 +08:00
Fix model switch bug
This commit is contained in:
parent
4afaaf8a02
commit
6b9795849d
@ -418,7 +418,7 @@ def network_forward(module, input, original_forward):
|
||||
def network_reset_cached_weight(self: Union[torch.nn.Conv2d, torch.nn.Linear]):
|
||||
self.network_current_names = ()
|
||||
self.network_weights_backup = None
|
||||
|
||||
self.network_bias_backup = None
|
||||
|
||||
def network_Linear_forward(self, input):
|
||||
if shared.opts.lora_functional:
|
||||
|
Loading…
Reference in New Issue
Block a user