This commit is contained in:
AUTOMATIC1111
2023-07-17 00:01:17 +03:00
parent c2297b89d3
commit ef5dac7786
2 changed files with 1 additions and 3 deletions

View File

@@ -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)