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
As shown in the figure, I would like to know how to implement such a 4D attention mask, or interleaved attention (i.e. some tokens use bidirectional attention and some tokens use casual attention) in Flashattn?