Open honglunzhang-mt opened 7 months ago
the above question may be caused by the fact that currently agentsd doesn't support diffusers
Hi @honglunzhang-mt. I greatly appreciate your interest in our work. Currently, agentsd does not support diffusers, but we plan to include support for it in a few weeks. We also encourage and welcome contributions from the community to help achieve this.
hello, I greatly appreciate your awesome work.
It seems that
self.attn1
in https://github.com/LeapLabTHU/Agent-Attention/blob/master/agentsd/patch.py#L220 is replaced as AgentAttention, whose forward function acceptsforward(self, x, agent=None, context=None, mask=None)
as parameters. However, in https://github.com/LeapLabTHU/Agent-Attention/blob/master/agentsd/patch.py#L220,encoder_hidden_states
andattention_mask
are passed toself.attn1
, which causes the problemforward() got an unexpected keyword argument 'encoder_hidden_states'
.do you have any solution? thanks a lot