mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 22:35:09 +00:00
fix to work highres_fix_latents_upscaling
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user