Open darshats opened 2 weeks ago
See this decorator on top of the __call__
method at all the pipelines: torch.no_grad()
. However, if one wants to use IPAdapterAttnProcessor2_0
or a similar component as a standalone component, one needs to consider this.
Describe the bug
When IP adapter is loaded, the IPAdapterAttnProcessor2_0 class is not set with training=False. Didnt see a huge difference in memory if its manually set to false on those processors, but it looks like a miss? Same for image_projection_layers
Reproduction
Logs
No response
System Info
diffusers 0.28.2 with sdxl
Who can help?
No response