diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-22 07:41:10 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-22 07:41:10 +0000 |
commit | a459075d26eecc38d6d58116e38f453450191460 (patch) | |
tree | bc5d6976a38bc0d912393cf01fd75078f24cdea2 /modules/sd_samplers_common.py | |
parent | d7c9c6142071359470347564913feb5b7a6c5c13 (diff) | |
download | stable-diffusion-webui-gfx803-a459075d26eecc38d6d58116e38f453450191460.tar.gz stable-diffusion-webui-gfx803-a459075d26eecc38d6d58116e38f453450191460.tar.bz2 stable-diffusion-webui-gfx803-a459075d26eecc38d6d58116e38f453450191460.zip |
actual solution to the uncommon hanging problem that is seemingly caused by multiple progress requests working on same tensor
Diffstat (limited to 'modules/sd_samplers_common.py')
-rw-r--r-- | modules/sd_samplers_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_samplers_common.py b/modules/sd_samplers_common.py index 64845ea4..60fa161c 100644 --- a/modules/sd_samplers_common.py +++ b/modules/sd_samplers_common.py @@ -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:
|