diff --git a/invokeai/app/invocations/latent.py b/invokeai/app/invocations/latent.py index 5bcb4bc9f0..4f7cd62632 100644 --- a/invokeai/app/invocations/latent.py +++ b/invokeai/app/invocations/latent.py @@ -562,10 +562,6 @@ class DenoiseLatentsInvocation(BaseInvocation): t2i_adapter_model: T2IAdapter 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 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. # We select the resize dimensions so that after the T2I-Adapter's total_downscale_factor is applied, the