diff options
author | random-thoughtss <116161560+random-thoughtss@users.noreply.github.com> | 2022-11-03 22:55:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-03 22:55:54 +0000 |
commit | 243253ff4a8ae944ba142abe9c1e78a92dd14ebe (patch) | |
tree | c40402e18a29ca9a9b167a2f9e47dab39dce0943 /modules/sd_hijack.py | |
parent | d9e4e4d7a09d4aee8ce249a3c8e91ce165b10fa5 (diff) | |
parent | 20a860b525cb7a319a42994f75a94bbca9a54d89 (diff) | |
download | stable-diffusion-webui-gfx803-243253ff4a8ae944ba142abe9c1e78a92dd14ebe.tar.gz stable-diffusion-webui-gfx803-243253ff4a8ae944ba142abe9c1e78a92dd14ebe.tar.bz2 stable-diffusion-webui-gfx803-243253ff4a8ae944ba142abe9c1e78a92dd14ebe.zip |
Merge branch 'AUTOMATIC1111:master' into master
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
|