未验证 提交 a0e979ba 编写于 作者: A AUTOMATIC1111 提交者: GitHub

Merge pull request #13178 from wpdong0727/fix-lora-bias-backup-reset

fix: lora-bias-backup don't reset cache
......@@ -418,6 +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):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册