cubiq / PuLID_ComfyUI

PuLID native implementation for ComfyUI
Apache License 2.0
700 stars 42 forks source link

Used with ipadapter, the order before and after causes differences #33

Open zhangsdly opened 6 months ago

zhangsdly commented 6 months ago

out’ is used in the _pulidattention, so out will be updated after out = out + callback (out, q, k, v, extra_options, ** self.kwargs [i]) . If connected to ipadapter, the order before and after will cause differences in effect. It is recommended to save the callback results to the list and add them up at the end, which is not affected by the order before and after.

cubiq commented 6 months ago

I'm not sure if this is a bug or a feature... need to think about it. thanks for bringing it out.