You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I notice that in diffusers, linear projection is split implemented (attn.to_q, 3072*3072*3), while in origin flux repo, it is concatenated, (attn.qkv 3072*9216). I wonder how can I convert lora for diffusers format (split qkv) to concatenated one?
e.g. 3 lora for split qkv: (3072*16, 16*3072) * 3 ===> lora for concatenated qkv: (3072*r, r*9216).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I notice that in diffusers, linear projection is split implemented (attn.to_q, 3072*3072*3), while in origin flux repo, it is concatenated, (attn.qkv 3072*9216). I wonder how can I convert lora for diffusers format (split qkv) to concatenated one?
e.g. 3 lora for split qkv: (3072*16, 16*3072) * 3 ===> lora for concatenated qkv: (3072*r, r*9216).
What should I do? sum or concat?
Beta Was this translation helpful? Give feedback.
All reactions