fix to work highres_fix_latents_upscaling

This commit is contained in:
Kohya S
2023-09-18 21:12:41 +09:00
parent d337bbf8a0
commit db7a28ac25

View File

@@ -766,7 +766,7 @@ class PipelineLike:
return None
if return_latents:
return (latents, False)
return latents
latents = 1 / sdxl_model_util.VAE_SCALE_FACTOR * latents
if vae_batch_size >= batch_size: