remove confusing codes that actually do nothing

This commit is contained in:
layerdiffusion
2024-08-07 19:01:19 -07:00
parent 5591b701c1
commit 692a0b2422
2 changed files with 0 additions and 17 deletions
-4
View File
@@ -133,8 +133,6 @@ class KDiffusionSampler(sd_samplers_common.Sampler):
unet_patcher = self.model_wrap.inner_model.forge_objects.unet
sampling_prepare(self.model_wrap.inner_model.forge_objects.unet, x=x)
self.model_wrap.predictor.to(x.device)
steps, t_enc = sd_samplers_common.setup_img2img_steps(p, steps)
sigmas = self.get_sigmas(p, steps).to(x.device)
@@ -194,8 +192,6 @@ class KDiffusionSampler(sd_samplers_common.Sampler):
unet_patcher = self.model_wrap.inner_model.forge_objects.unet
sampling_prepare(self.model_wrap.inner_model.forge_objects.unet, x=x)
self.model_wrap.predictor.to(x.device)
steps = steps or p.steps
sigmas = self.get_sigmas(p, steps).to(x.device)