aboutsummaryrefslogtreecommitdiffstats
path: root/extensions-builtin/Lora/networks.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-16 21:01:17 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-07-16 21:01:17 +0000
commitef5dac7786916dd39711edb2b8e90ce96ef78fca (patch)
tree00b6d838fc2b1e5c7b5ea6dee34008608077476b /extensions-builtin/Lora/networks.py
parentc2297b89d3af38955addb580f5758a42094a4aa6 (diff)
downloadstable-diffusion-webui-gfx803-ef5dac7786916dd39711edb2b8e90ce96ef78fca.tar.gz
stable-diffusion-webui-gfx803-ef5dac7786916dd39711edb2b8e90ce96ef78fca.tar.bz2
stable-diffusion-webui-gfx803-ef5dac7786916dd39711edb2b8e90ce96ef78fca.zip
fix
Diffstat (limited to 'extensions-builtin/Lora/networks.py')
-rw-r--r--extensions-builtin/Lora/networks.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions-builtin/Lora/networks.py b/extensions-builtin/Lora/networks.py
index 5b0ddfb6..90374faa 100644
--- a/extensions-builtin/Lora/networks.py
+++ b/extensions-builtin/Lora/networks.py
@@ -271,6 +271,7 @@ def network_apply_weights(self: Union[torch.nn.Conv2d, torch.nn.Linear, torch.nn
updown = torch.nn.functional.pad(updown, (0, 0, 0, 0, 0, 5))
self.weight += updown
+ continue
module_q = net.modules.get(network_layer_name + "_q_proj", None)
module_k = net.modules.get(network_layer_name + "_k_proj", None)