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
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue