mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
actual solution to the uncommon hanging problem that is seemingly caused by multiple progress requests working on same tensor
This commit is contained in:
parent
d7c9c61420
commit
a459075d26
3 changed files with 22 additions and 23 deletions
|
|
@ -111,7 +111,7 @@ def images_tensor_to_samples(image, approximation=None, model=None):
|
|||
|
||||
|
||||
def store_latent(decoded):
|
||||
state.current_latent = decoded.clone()
|
||||
state.current_latent = decoded
|
||||
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue