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
FIX Use correct argument name in MHA forward (#2510)
The arguments of the forward method of MultiheadAttention are called
query etc. PEFT used x. Therefore, if a caller uses keywords only, the
argument is not assigned, resulting in an error.
This was initially reported here:
#761 (comment)
Note: Other layers' forward method (like Linear) also uses incorrect
names, like x instead of input, but so far no issues were reported, so
I'll leave it as is for now.
0 commit comments