From 2164674b0155027c486aea1566176c2a995f7878 Mon Sep 17 00:00:00 2001 From: ZachNagengast Date: Fri, 28 Jul 2023 07:49:29 -0700 Subject: [PATCH] Black format --- invokeai/app/invocations/sdxl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/app/invocations/sdxl.py b/invokeai/app/invocations/sdxl.py index 0016960b37..7dfceba853 100644 --- a/invokeai/app/invocations/sdxl.py +++ b/invokeai/app/invocations/sdxl.py @@ -299,7 +299,7 @@ class SDXLTextToLatentsInvocation(BaseInvocation): with unet_info as unet: scheduler.set_timesteps(num_inference_steps, device=unet.device) timesteps = scheduler.timesteps - + latents = latents.to(device=unet.device, dtype=unet.dtype) * scheduler.init_noise_sigma extra_step_kwargs = dict()