actual solution to the uncommon hanging problem that is seemingly caused by multiple progress requests working on same tensor

This commit is contained in:
AUTOMATIC1111
2023-08-22 10:41:10 +03:00
parent d7c9c61420
commit a459075d26
3 changed files with 22 additions and 23 deletions

View File

@@ -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