mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-29 02:31:16 +00:00
improve backward combability #936
This commit is contained in:
@@ -72,6 +72,7 @@ class StableDiffusionXL(ForgeDiffusionEngine):
|
||||
# WebUI Legacy
|
||||
self.is_sdxl = True
|
||||
self.first_stage_model = vae.first_stage_model
|
||||
self.alphas_cumprod = unet.model.predictor.alphas_cumprod
|
||||
|
||||
def set_clip_skip(self, clip_skip):
|
||||
self.text_processing_engine_l.clip_skip = clip_skip
|
||||
|
||||
Reference in New Issue
Block a user