Skip to content

Commit

Permalink
[fix] Add back BlockDiagonalMask import
Browse files Browse the repository at this point in the history
It looks like BlockDiagonalMask import was accidentally removed in commit 166fd2e.
This commit adds it back.
  • Loading branch information
tanvitiwari-meta committed Oct 22, 2024
1 parent 68b7fd1 commit 86903f5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion xformers/ops/fmha/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
flash3,
triton_splitk,
)
from .attn_bias import VARLEN_BIASES, AttentionBias, LowerTriangularMask
from .attn_bias import (
VARLEN_BIASES,
AttentionBias,
LowerTriangularMask,
BlockDiagonalMask,
)
from .common import (
AttentionBwOpBase,
AttentionFwOpBase,
Expand Down

0 comments on commit 86903f5

Please sign in to comment.