The argument down_intrablock_additional_residuals should not be changed inside the function UNet2DConditionModel.forward()
I found the argument down_intrablock_additional_residuals is poped inside the UNet2DConditionModel.forward() function, and don't think it's a good design. This argument is the result of the adapter, and is repeatedly passed into the forward function during the denoising process. If the argument is changed by the function, the later function call will miss the information from the adapter.
Hi @sayakpaul @yiyixuxu, can you please help me to work around this issue? Thanks
Can you please provide a reproducible code snippet?
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.