mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
Add torch_gc to state.nextjob, vae and upscale
This commit is contained in:
@@ -400,6 +400,7 @@ def resize_hires(p, latents): # input=latents output=pil if not latent_upscaler
|
||||
else:
|
||||
resized_image = img
|
||||
resized_images.append(resized_image)
|
||||
devices.torch_gc()
|
||||
return resized_images
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user