diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-11-04 06:02:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 06:02:15 +0000 |
commit | 4918eb6ce484caa4bc5a9f668bb466a5122a9c87 (patch) | |
tree | 76a0e42461d620764ad810c5b8dbd5b28d757519 /modules/sd_hijack.py | |
parent | 80844ac861504e7c67a3d4dec0cbed9f6f4b3e24 (diff) | |
parent | 2cf3d2ac15530dbc8fdb486a4dac03b710972445 (diff) | |
download | stable-diffusion-webui-gfx803-4918eb6ce484caa4bc5a9f668bb466a5122a9c87.tar.gz stable-diffusion-webui-gfx803-4918eb6ce484caa4bc5a9f668bb466a5122a9c87.tar.bz2 stable-diffusion-webui-gfx803-4918eb6ce484caa4bc5a9f668bb466a5122a9c87.zip |
Merge branch 'master' into hn-activation
Diffstat (limited to 'modules/sd_hijack.py')
-rw-r--r-- | modules/sd_hijack.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/sd_hijack.py b/modules/sd_hijack.py index 0f10828e..bc49d235 100644 --- a/modules/sd_hijack.py +++ b/modules/sd_hijack.py @@ -94,6 +94,10 @@ class StableDiffusionModelHijack: if type(model_embeddings.token_embedding) == EmbeddingsWithFixes:
model_embeddings.token_embedding = model_embeddings.token_embedding.wrapped
+ self.layers = None
+ self.circular_enabled = False
+ self.clip = None
+
def apply_circular(self, enable):
if self.circular_enabled == enable:
return
|