diff options
author | v0xie <28695009+v0xie@users.noreply.github.com> | 2023-10-22 16:31:15 +0000 |
---|---|---|
committer | v0xie <28695009+v0xie@users.noreply.github.com> | 2023-10-22 16:31:15 +0000 |
commit | 6523edb8a45d4e09f11f3b4e1d133afa6fb65e53 (patch) | |
tree | 3877ac9ab02374be33290f10ff2c7a8790504b12 /extensions-builtin/Lora/network_oft.py | |
parent | 3b8515d2c9abad7f0ccaac0215803716e861ee0e (diff) | |
download | stable-diffusion-webui-gfx803-6523edb8a45d4e09f11f3b4e1d133afa6fb65e53.tar.gz stable-diffusion-webui-gfx803-6523edb8a45d4e09f11f3b4e1d133afa6fb65e53.tar.bz2 stable-diffusion-webui-gfx803-6523edb8a45d4e09f11f3b4e1d133afa6fb65e53.zip |
style: conform style
Diffstat (limited to 'extensions-builtin/Lora/network_oft.py')
-rw-r--r-- | extensions-builtin/Lora/network_oft.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions-builtin/Lora/network_oft.py b/extensions-builtin/Lora/network_oft.py index efbdd296..e43c9a1d 100644 --- a/extensions-builtin/Lora/network_oft.py +++ b/extensions-builtin/Lora/network_oft.py @@ -63,7 +63,7 @@ class NetworkModuleOFT(network.NetworkModule): orig_weight = orig_weight return self.finalize_updown(updown, orig_weight, output_shape) - + # override to remove the multiplier/scale factor; it's already multiplied in get_weight def finalize_updown(self, updown, orig_weight, output_shape, ex_bias=None): #return super().finalize_updown(updown, orig_weight, output_shape, ex_bias) |