From f3a1915130225ace553b4e416f5d0dc3a21b2cf1 Mon Sep 17 00:00:00 2001 From: Ryan Dick Date: Thu, 21 Sep 2023 14:20:17 -0400 Subject: [PATCH] Link to upstream diffusers bugfix PR that currently requires a workaround. --- invokeai/app/invocations/latent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/invokeai/app/invocations/latent.py b/invokeai/app/invocations/latent.py index 722d135bd7..bf19d3431c 100644 --- a/invokeai/app/invocations/latent.py +++ b/invokeai/app/invocations/latent.py @@ -497,7 +497,8 @@ class DenoiseLatentsInvocation(BaseInvocation): with t2i_adapter_model_info as t2i_adapter_model: total_downscale_factor = t2i_adapter_model.total_downscale_factor if isinstance(t2i_adapter_model.adapter, FullAdapterXL): - # HACK(ryand): Work around a bug in FullAdapterXL. This will be fixed upstream in diffusers. + # HACK(ryand): Work around a bug in FullAdapterXL. This is being addressed upstream in diffusers by + # this PR: https://github.com/huggingface/diffusers/pull/5134. total_downscale_factor = total_downscale_factor // 2 # Resize the T2I-Adapter input image.