Skip to content

Commit

Permalink
cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
sashaDoubov committed Nov 22, 2023
1 parent 95d458b commit 0029362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_flash_triton_torch.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_attn_impl(attn_impl_0: str,
if pad_attention_mask:
# zero out the last third of the attention mask
# to simulate padding
attention_mask[:, (s * 2) // 3:] = 0
attention_mask[:, -s // 3:] = 0

def gen_bias(attn_impl: str):
causal = True
Expand Down

0 comments on commit 0029362

Please sign in to comment.