Skip to content

Commit

Permalink
Should fix OOMs in CI
Browse files Browse the repository at this point in the history
ghstack-source-id: 0e543590f9fca47bd4ff1ab81dc60a37292d28c6
Pull Request resolved: #488
  • Loading branch information
danthe3rd committed Oct 21, 2022
1 parent 0da65ca commit bcc40dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xformers/ops/memory_efficient_attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ def _flash_attn_backward(
class MemoryEfficientAttentionCutlassFwdFlashBwOp(MemoryEfficientAttentionCutlassOp):
FW_OP = MemoryEfficientAttentionCutlassOp
BW_OP = MemoryEfficientAttentionFlashAttentionOp
SUPPORTED_DTYPES = BW_OP.SUPPORTED_DTYPES.intersection(FW_OP.SUPPORTED_DTYPES)
NAME = "fctls_bflsh"

@classmethod
Expand Down

0 comments on commit bcc40dc

Please sign in to comment.