Skip to content

Commit 2b9b0eb

Browse files
committed
j is == i.
1 parent 8ed6df9 commit 2b9b0eb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/inference/pytorch/pipeline.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -570,9 +570,6 @@ def do_denoise(
570570
nonlocal j
571571
nonlocal timesteps
572572

573-
# Find current index because ksampling will not give it to us
574-
i = torch.nonzero(timesteps == t).item().__int__()
575-
576573
self.unet = modify_kohya(self.unet, j, num_inference_steps, deepshrink)
577574

578575
# expand the latents if we are doing classifier free guidance

0 commit comments

Comments
 (0)