diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-13 18:17:50 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-13 18:17:50 +0000 |
commit | 6c5f83b19b331d51bde28c5033d13d0d64c11e54 (patch) | |
tree | 201ceae91b2cdb0dc3e49e51705cda6b7164413c /modules/sd_models_xl.py | |
parent | ff73841c608f5f02e6352bb235d9dbf63d922990 (diff) | |
download | stable-diffusion-webui-gfx803-6c5f83b19b331d51bde28c5033d13d0d64c11e54.tar.gz stable-diffusion-webui-gfx803-6c5f83b19b331d51bde28c5033d13d0d64c11e54.tar.bz2 stable-diffusion-webui-gfx803-6c5f83b19b331d51bde28c5033d13d0d64c11e54.zip |
add support for SDXL loras with te1/te2 modules
Diffstat (limited to 'modules/sd_models_xl.py')
-rw-r--r-- | modules/sd_models_xl.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/sd_models_xl.py b/modules/sd_models_xl.py index af445a61..a7240dc0 100644 --- a/modules/sd_models_xl.py +++ b/modules/sd_models_xl.py @@ -48,7 +48,6 @@ def extend_sdxl(model): discretization = sgm.modules.diffusionmodules.discretizer.LegacyDDPMDiscretization()
model.alphas_cumprod = torch.asarray(discretization.alphas_cumprod, device=devices.device, dtype=dtype)
- model.is_sdxl = True
sgm.models.diffusion.DiffusionEngine.get_learned_conditioning = get_learned_conditioning
|