diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-03 09:56:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-03 09:56:19 +0000 |
commit | 8e840e151917892af8d8681781b231a1fc47d404 (patch) | |
tree | 99dec8a5e666d2ba3bce9cf612479e687215b27a /modules/sd_hijack_clip.py | |
parent | 0904df84e296c10fe0ccb37a3b689e6b96d87e41 (diff) | |
parent | f56a309432996936a41040ea723d76a8cb488f87 (diff) | |
download | stable-diffusion-webui-gfx803-8e840e151917892af8d8681781b231a1fc47d404.tar.gz stable-diffusion-webui-gfx803-8e840e151917892af8d8681781b231a1fc47d404.tar.bz2 stable-diffusion-webui-gfx803-8e840e151917892af8d8681781b231a1fc47d404.zip |
Merge pull request #12269 from AUTOMATIC1111/TI-Hash-fix
fix missing TI hash
Diffstat (limited to 'modules/sd_hijack_clip.py')
-rw-r--r-- | modules/sd_hijack_clip.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/sd_hijack_clip.py b/modules/sd_hijack_clip.py index 2f9d569b..8f29057a 100644 --- a/modules/sd_hijack_clip.py +++ b/modules/sd_hijack_clip.py @@ -245,6 +245,8 @@ class FrozenCLIPEmbedderWithCustomWordsBase(torch.nn.Module): hashes.append(f"{name}: {shorthash}")
if hashes:
+ if self.hijack.extra_generation_params.get("TI hashes"):
+ hashes.append(self.hijack.extra_generation_params.get("TI hashes"))
self.hijack.extra_generation_params["TI hashes"] = ", ".join(hashes)
if getattr(self.wrapped, 'return_pooled', False):
|