mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-26 09:18:59 +00:00
intergrate k-diffusion
This commit is contained in:
@@ -53,10 +53,6 @@ class StableDiffusion2(ForgeDiffusionEngine):
|
||||
# WebUI Legacy
|
||||
self.is_sd2 = True
|
||||
self.first_stage_model = vae.first_stage_model
|
||||
self.alphas_cumprod = unet.model.predictor.alphas_cumprod
|
||||
|
||||
if not self.is_inpaint:
|
||||
self.parameterization = 'v'
|
||||
|
||||
def set_clip_skip(self, clip_skip):
|
||||
self.text_processing_engine.clip_skip = clip_skip
|
||||
|
||||
Reference in New Issue
Block a user