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/shared_state.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/shared_state.py')
-rw-r--r-- | modules/shared_state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared_state.py b/modules/shared_state.py index 3dc9c788..d272ee5b 100644 --- a/modules/shared_state.py +++ b/modules/shared_state.py @@ -128,7 +128,7 @@ class State: devices.torch_gc()
def set_current_image(self):
- """sets self.current_image from self.current_latent if enough sampling steps have been made after the last call to this"""
+ """if enough sampling steps have been made after the last call to this, sets self.current_image from self.current_latent, and modifies self.id_live_preview accordingly"""
if not shared.parallel_processing_allowed:
return
|