mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-05-01 03:31:30 +00:00
fix lcm
This commit is contained in:
@@ -19,6 +19,7 @@ class LCMCompVisDenoiser(DiscreteEpsDDPMDenoiser):
|
|||||||
alphas_cumprod_valid[original_timesteps - 1 - x] = alphas_cumprod[timesteps - 1 - x * self.skip_steps]
|
alphas_cumprod_valid[original_timesteps - 1 - x] = alphas_cumprod[timesteps - 1 - x * self.skip_steps]
|
||||||
|
|
||||||
super().__init__(model, alphas_cumprod_valid, quantize=None)
|
super().__init__(model, alphas_cumprod_valid, quantize=None)
|
||||||
|
self.predictor = model.forge_objects.unet.model.predictor
|
||||||
|
|
||||||
|
|
||||||
def get_sigmas(self, n=None,):
|
def get_sigmas(self, n=None,):
|
||||||
|
|||||||
Reference in New Issue
Block a user