Commit d7c9c614 authored by AUTOMATIC1111's avatar AUTOMATIC1111

attemped solution to the uncommon hanging problem that is seemingly caused by...

attemped solution to the uncommon hanging problem that is seemingly caused by live previews working on the tensor as denoising
parent 79fd17ee
...@@ -111,7 +111,7 @@ def images_tensor_to_samples(image, approximation=None, model=None): ...@@ -111,7 +111,7 @@ def images_tensor_to_samples(image, approximation=None, model=None):
def store_latent(decoded): def store_latent(decoded):
state.current_latent = decoded state.current_latent = decoded.clone()
if opts.live_previews_enable and opts.show_progress_every_n_steps > 0 and shared.state.sampling_step % opts.show_progress_every_n_steps == 0: if opts.live_previews_enable and opts.show_progress_every_n_steps > 0 and shared.state.sampling_step % opts.show_progress_every_n_steps == 0:
if not shared.parallel_processing_allowed: if not shared.parallel_processing_allowed:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment