diff options
author | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-08-08 11:39:34 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 11:39:34 +0900 |
commit | f17c8c2eff63210f5e96e1e2b049b46ba9cfa389 (patch) | |
tree | 701056aec9ae11bc45df9b39b176a54fa4d34e19 /modules/sd_models_xl.py | |
parent | c75bda867be5345bf959daf23bdc19eadc90841a (diff) | |
parent | 01997f45ba089af24b03a5f614147bb0f9d8d824 (diff) | |
download | stable-diffusion-webui-gfx803-f17c8c2eff63210f5e96e1e2b049b46ba9cfa389.tar.gz |
Merge branch 'dev' into auro-autolaunch
Diffstat (limited to 'modules/sd_models_xl.py')
-rw-r--r-- | modules/sd_models_xl.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/sd_models_xl.py b/modules/sd_models_xl.py index bc219508..01123321 100644 --- a/modules/sd_models_xl.py +++ b/modules/sd_models_xl.py @@ -98,10 +98,10 @@ def extend_sdxl(model): model.conditioner.wrapped = torch.nn.Module()
-sgm.modules.attention.print = lambda *args: None
-sgm.modules.diffusionmodules.model.print = lambda *args: None
-sgm.modules.diffusionmodules.openaimodel.print = lambda *args: None
-sgm.modules.encoders.modules.print = lambda *args: None
+sgm.modules.attention.print = shared.ldm_print
+sgm.modules.diffusionmodules.model.print = shared.ldm_print
+sgm.modules.diffusionmodules.openaimodel.print = shared.ldm_print
+sgm.modules.encoders.modules.print = shared.ldm_print
# this gets the code to load the vanilla attention that we override
sgm.modules.attention.SDP_IS_AVAILABLE = True
|