Skip to content

Commit

Permalink
feature: update refiners
Browse files Browse the repository at this point in the history
better handles img2img (partial diffusion runs)
  • Loading branch information
brycedrennan committed Jan 20, 2024
1 parent 4ae8427 commit 68795c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imaginairy/api/generate_refiners.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def latent_logger(latents):
noised_latent = init_latent
else:
noised_latent = sd.scheduler.add_noise(
x=init_latent, noise=noise, step=sd.steps[noise_step]
x=init_latent, noise=noise, step=sd.scheduler.all_steps[noise_step]
)

with lc.timing("text-conditioning"):
Expand Down

0 comments on commit 68795c0

Please sign in to comment.