Link to upstream diffusers bugfix PR that currently requires a workaround.

This commit is contained in:
Ryan Dick
2023-09-21 14:20:17 -04:00
parent a711b1daa6
commit f3a1915130

View File

@ -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.